llvm-6502/lib/Transforms/InstCombine
David Majnemer a1129621dd InstCombine: FoldOrOfICmps harder
We may be in a situation where the icmps might not be near each other in
a tree of or instructions.  Try to dig out related compare instructions
and see if they combine.

N.B.  This won't fire on deep trees of compares because rewritting the
tree might end up creating a net increase of IR.  We may have to resort
to something more sophisticated if this is a real problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222928 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-28 19:58:29 +00:00
..
CMakeLists.txt
InstCombine.h [InstCombine] Re-commit of r218721 (Optimize icmp-select-icmp sequence) 2014-11-21 23:36:44 +00:00
InstCombineAddSub.cpp InstCombine: Combine (X | Y) - X to (~X & Y) 2014-11-03 05:53:55 +00:00
InstCombineAndOrXor.cpp InstCombine: FoldOrOfICmps harder 2014-11-28 19:58:29 +00:00
InstCombineCalls.cpp [PowerPC] Add vec_vsx_ld and vec_vsx_st intrinsics 2014-11-12 04:19:40 +00:00
InstCombineCasts.cpp InstCombine: Fix another infinite loop caused by visitFPTrunc 2014-11-18 22:06:45 +00:00
InstCombineCompares.cpp Removed extra line from a comment to test first commit. NFC. 2014-11-28 10:38:18 +00:00
InstCombineLoadStoreAlloca.cpp [InstCombine] Change LLVM To canonicalize toward the value type being 2014-11-25 10:09:51 +00:00
InstCombineMulDivRem.cpp InstCombine: Don't create an unused instruction 2014-11-24 16:41:13 +00:00
InstCombinePHI.cpp Update SetVector to rely on the underlying set's insert to return a pair<iterator, bool> 2014-11-19 07:49:26 +00:00
InstCombineSelect.cpp InstCombine: Restore optimizations lost in r210006 2014-11-27 07:25:21 +00:00
InstCombineShifts.cpp Make use of @llvm.assume in ValueTracking (computeKnownBits, etc.) 2014-09-07 18:57:58 +00:00
InstCombineSimplifyDemanded.cpp Add additional patterns for @llvm.assume in ValueTracking 2014-09-07 19:21:07 +00:00
InstCombineVectorOps.cpp fixed some typos 2014-07-07 22:13:58 +00:00
InstCombineWorklist.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
InstructionCombining.cpp InstCombine: Don't assume DataLayout is always available 2014-11-24 07:26:20 +00:00
LLVMBuild.txt
Makefile