summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Use the new 'moveBefore' method to simplify some code. Really, which isChris Lattner2005-08-081-2/+1
* Add some simple folds that occur in bitfield cases. Fix a minor bug inChris Lattner2005-08-071-0/+32
* now that hasConstantValue defaults to only returning values that dominateChris Lattner2005-08-051-19/+2
* Fix a fixme in CondPropagate.cpp by moving a PhiNode optimization intoNate Begeman2005-08-041-1/+1
* Update to use the new MathExtras.h support for log2 computation.Chris Lattner2005-08-021-22/+15
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-7/+7
* Do not let MaskedValueIsZero consider undef to be zero, for reasonsChris Lattner2005-07-201-2/+8
* When transforming &A[i] < &A[j] -> i < j, make sure to perform the comparisonChris Lattner2005-07-181-4/+11
* Fix a problem that instcombine would hit when dealing with unreachable code.Chris Lattner2005-07-071-5/+29
* Clean up some uninitialized variables and missing return statements thatReid Spencer2005-06-181-3/+3
* This is not true: (X != 13 | X < 15) -> X < 15Chris Lattner2005-06-171-2/+1
* Don't crash when dealing with INTMIN. This fixes PR585 andChris Lattner2005-06-171-0/+2
* avoid constructing out of range shift amounts.Chris Lattner2005-06-171-2/+4
* Fix PR583 and testcase Transforms/InstCombine/2005-06-15-DivSelectCrash.llChris Lattner2005-06-161-1/+1
* Fix PR571, removing code that does just the WRONG thing :)Chris Lattner2005-06-161-27/+1
* Fix a bug in my previous patch. Do not get the shift amount type (whichChris Lattner2005-06-161-1/+1
* Fix PR577 and testcase InstCombine/2005-06-15-ShiftSetCCCrash.ll.Chris Lattner2005-06-151-2/+16
* Put the hack back in that removes features, causes regressions to fail, butReid Spencer2005-06-151-0/+2
* Unbreak several InstCombine regression checks introduced by a hack toReid Spencer2005-06-131-2/+0
* hack to fix bzip2 (bug 571)Andrew Lenharth2005-06-041-0/+2
* preserve calling conventions when hacking on codeChris Lattner2005-05-141-0/+2
* calling a function with the wrong CC is undefined, turn it into an unreachableChris Lattner2005-05-131-0/+14
* implement and.ll:test33Chris Lattner2005-05-091-2/+18
* Strength reduce SAR into SHR if there is no way sign bits could be shiftedChris Lattner2005-05-081-0/+10
* Fix a miscompilation of crafty by clobbering the "A" variable.Chris Lattner2005-05-071-9/+10
* Preserve tail markerChris Lattner2005-05-061-0/+2
* Teach instcombine propagate zeroness through shl instructions, implementingChris Lattner2005-05-061-8/+4
* Implement shift.ll:test23. If we are shifting right then immediately truncatingChris Lattner2005-05-061-3/+19
* Implement xor.ll:test22Chris Lattner2005-05-061-0/+9
* implement and.ll:test30 and set.ll:test21Chris Lattner2005-05-061-18/+60
* implement or.ll:test20Chris Lattner2005-05-061-0/+7
* Instcombine: cast (X != 0) to int, cast (X == 1) to int -> X iff X has only ...Chris Lattner2005-05-041-3/+25
* Implement getelementptr.ll:test11Chris Lattner2005-05-011-0/+16
* Check for volatile loads only once.Chris Lattner2005-05-011-9/+35
* Fix the compile failures from last night.Chris Lattner2005-04-261-0/+2
* implement getelementptr.ll:test10Chris Lattner2005-04-251-1/+19
* Eliminate cases where we could << by 64, which is undefined in C.Chris Lattner2005-04-241-9/+5
* Implement xor.ll:test21: select (not C), A, B -> select C, B, AChris Lattner2005-04-241-2/+10
* Use getPrimitiveSizeInBits() instead of getPrimitiveSize()*8Chris Lattner2005-04-241-170/+160
* Eliminate tabs and trailing spacesJeff Cohen2005-04-231-3/+3
* Generalize the setcc -> PHI and Select folding optimizations to work withChris Lattner2005-04-231-30/+37
* Remove trailing whitespaceMisha Brukman2005-04-211-135/+135
* Instcombine this:Chris Lattner2005-04-211-0/+3
* Eliminate a broken transformation, fixing PR548Chris Lattner2005-04-191-4/+2
* Fix bug: InstCombine/2005-05-07-UDivSelectCrash.llChris Lattner2005-04-081-14/+16
* Implement the following xforms:Chris Lattner2005-04-071-3/+18
* Implement InstCombine/add.ll:test28, transforming C1-(X+C2) --> (C1-C2)-X.Chris Lattner2005-04-071-2/+8
* Transform X-(X+Y) == -Y and X-(Y+X) == -YChris Lattner2005-04-071-2/+11
* disable this transformation in the one obscure case that really pessimizesChris Lattner2005-03-291-0/+3
* Do not compute 1ULL << 64, which is undefined. This fixes Ptrdist/ks on theChris Lattner2005-03-041-1/+2
OpenPOWER on IntegriCloud