teak-llvm/llvm/lib/Transforms/InstCombine
Hiroshi Yamauchi e6a3dc7699 Simplify more cases of logical ops of masked icmps.
Summary:
For example,

((X & 255) != 0) && ((X & 15) == 8) -> ((X & 15) == 8).
((X & 7) != 0) && ((X & 15) == 8) -> false.

Reviewers: davidxl

Reviewed By: davidxl

Subscribers: llvm-commits

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

llvm-svn: 327450
2018-03-13 21:13:18 +00:00
..
CMakeLists.txt
InstCombineAddSub.cpp [InstCombine] (~X) - (~Y) --> Y - X 2018-03-03 17:53:25 +00:00
InstCombineAndOrXor.cpp Simplify more cases of logical ops of masked icmps. 2018-03-13 21:13:18 +00:00
InstCombineCalls.cpp [Transforms] Propagate new-format TBAA tags on simplification of memory-transfer intrinsics 2018-02-19 12:10:20 +00:00
InstCombineCasts.cpp [InstCombine] Add constant vector support to getMinimumFPType for visitFPTrunc. 2018-03-05 18:04:12 +00:00
InstCombineCompares.cpp [InstCombine] Don't blow up in foldICmpWithCastAndCast on vector icmp instructions. 2018-03-05 18:05:51 +00:00
InstCombineInternal.h [InstCombine] move constant check into foldBinOpIntoSelectOrPhi; NFCI 2018-02-28 16:36:24 +00:00
InstCombineLoadStoreAlloca.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
InstCombineMulDivRem.cpp [InstCombine] fix fmul reassociation to avoid creating an extra fdiv 2018-03-13 14:46:32 +00:00
InstCombinePHI.cpp Remove redundant includes from lib/Transforms. 2017-12-13 21:31:01 +00:00
InstCombineSelect.cpp [InstCombine] Replace calls to getNumUses with hasNUses or hasNUsesOrMore 2018-03-12 18:46:05 +00:00
InstCombineShifts.cpp [InstCombine] move constant check into foldBinOpIntoSelectOrPhi; NFCI 2018-02-28 16:36:24 +00:00
InstCombineSimplifyDemanded.cpp Remove useless comment - seems to be a copy+paste typo. NFCI 2018-02-16 20:41:06 +00:00
InstCombineVectorOps.cpp [InstCombine] Gracefully handle out of range extractelement indices 2017-12-27 12:00:18 +00:00
InstructionCombining.cpp [Transforms] Add missing header for InstructionCombining.cpp, in order to export LLVMInitializeInstCombine as extern "C". Fixes PR35947. 2018-03-06 23:06:13 +00:00
LLVMBuild.txt