llvm-6502/lib/Transforms/InstCombine
Benjamin Kramer f5b75932b8 While SimplifyDemandedBits constant folds this, we can't rely on it here.
It's possible to craft an input that hits the recursion limits in a way
that SimplifyDemandedBits doesn't simplify the icmp but ComputeMaskedBits
can infer which bits are zero.

No test case as it depends on too many other things. Fixes PR9609.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128777 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-02 18:50:58 +00:00
..
CMakeLists.txt
InstCombine.h InstCombine: Move (sext icmp) transforms into their own method. No intended functionality change. 2011-04-01 20:09:03 +00:00
InstCombineAddSub.cpp
InstCombineAndOrXor.cpp InstCombine: Add a few missing combines for ANDs and ORs of sign bit tests. 2011-03-29 22:06:41 +00:00
InstCombineCalls.cpp Use APInt's umul_ov instead of rolling our own overflow detection. 2011-03-27 15:04:38 +00:00
InstCombineCasts.cpp While SimplifyDemandedBits constant folds this, we can't rely on it here. 2011-04-02 18:50:58 +00:00
InstCombineCompares.cpp InstCombine: APFloat can't perform arithmetic on PPC double doubles, don't even try. 2011-03-31 21:35:49 +00:00
InstCombineLoadStoreAlloca.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
InstCombineMulDivRem.cpp InstCombine: If the divisor of an fdiv has an exact inverse, turn it into an fmul. 2011-03-30 15:42:35 +00:00
InstCombinePHI.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
InstCombineSelect.cpp Remove tabs I accidentally added. 2011-03-28 17:48:26 +00:00
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp PR9346: Prevent SimplifyDemandedBits from incorrectly introducing 2011-03-09 01:28:35 +00:00
InstCombineVectorOps.cpp Instcombile optimization: extractelement(cast) -> cast(extractelement) 2011-03-31 22:57:29 +00:00
InstCombineWorklist.h InstCombine: We know the number of items initially added to the worklist map, reserve space early to avoid rehashing. 2011-03-05 16:43:46 +00:00
InstructionCombining.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
Makefile