Go to file
Hiroshi Inoue 5388e66d3a [PowerPC] Use helper functions to check sign-/zero-extended value
Helper functions to identify sign- and zero-extending machine instruction is introduced in rL315888.
This patch makes PPCInstrInfo::optimizeCompareInstr use the helper functions. It simplifies the code and also makes possible more optimizations since the helper can do more analysis than the original check code; I observed about 5000 more compare instructions are eliminated while building LLVM.

Also, this patch fixes a bug in helpers on ANDIo instruction handling due to the order of checks. This bug causes a failure in an existing test case for optimizeCompareInstr.

Differential Revision: https://reviews.llvm.org/D38988

llvm-svn: 316071
2017-10-18 10:31:19 +00:00
clang [ASTImporter] Import SubStmt of CaseStmt 2017-10-18 09:25:18 +00:00
clang-tools-extra New -assume-filename=param to check_clang_tidy.py (like clang-format) 2017-10-18 07:48:40 +00:00
compiler-rt Use O_BINARY when opening GCDA file on Windows 2017-10-18 00:22:01 +00:00
debuginfo-tests Revert r313600 due to bot failures on Green Dragon. 2017-09-19 14:51:37 +00:00
libclc travis: enable checks of nvptx libraries 2017-10-10 18:10:25 +00:00
libcxx Refactor std::list node allocation logic. 2017-10-17 19:12:23 +00:00
libcxxabi Fix ASAN build with older compiler-rt versions. 2017-09-14 22:37:34 +00:00
libunwind libunwind: document tested FreeBSD configs and sort OS list 2017-10-14 17:04:04 +00:00
lld [ELF] - Remove excessive helper. NFC. 2017-10-18 08:36:47 +00:00
lldb Silence some "implicit conversion of string literal" warnings 2017-10-17 21:52:29 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [PowerPC] Use helper functions to check sign-/zero-extended value 2017-10-18 10:31:19 +00:00
openmp KMP_HW_SUBSET vs KMP_PLACE_THREADS rival envirables fix 2017-10-06 19:23:19 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] Add XFAIL to large-numbers-in-boundary-context.ll 2017-10-16 15:12:39 +00:00