aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2010-03-05remove this testcase, it isn't clear what it was testing and it is subsumed b...Chris Lattner
2010-03-04Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))'Nick Lewycky
2010-03-03fix incorrect folding of icmp with undef, PR6481.Chris Lattner
2010-03-03This test case:Bill Wendling
2010-03-02Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman
2010-03-01LLVM instruction syntax doesn't have trailing semicolons.Dan Gohman
2010-02-28Teach APFloat how to create both QNaNs and SNaNs and with arbitrary-widthJohn McCall
2010-02-23Don't do (X != Y) ? X : Y -> X for floating-point values; it doesn'tDan Gohman
2010-02-23Remove the code which constant-folded ptrtoint(inttoptr(x)+c) toDan Gohman
2010-02-23Convert this test to FileCheck and add a testcase for PR3574.Dan Gohman
2010-02-22Instcombine constant folding can normalize gep with negative index to index w...Evan Cheng
2010-02-22Add a test for canonicalizing ConstantExpr operands.Dan Gohman
2010-02-22Constant-fold certain comparisons with infinity and negative infinity.Dan Gohman
2010-02-17Fold bswap(undef) to undef.Dan Gohman
2010-02-13Fix a problem where we had bitcasted operands that gave usEric Christopher
2010-02-11Make sure that ConstantExpr offsets also aren't off of externEric Christopher
2010-02-11Rename ValueRequiresCast to ShouldOptimizeCast, to better reflectChris Lattner
2010-02-11convert to filecheck.Chris Lattner
2010-02-11Add ConstantExpr handling to Intrinsic::objectsize lowering.Eric Christopher
2010-02-09Move Intrinsic::objectsize lowering back to InstCombineCalls andEric Christopher
2010-02-09Pull these back out, they're a little too aggressive and timeEric Christopher
2010-02-09fix PR6193, only considering sign extensions *from i1* for thisChris Lattner
2010-02-09Add a new pass to do llvm.objsize lowering using SCEV.Eric Christopher
2010-02-05fix logical-select to invoke filecheck right, and fix hte instcombineChris Lattner
2010-02-05Remove this code for now. I have a better idea and will rewrite withEric Christopher
2010-02-04Temporarily revert this since it appears to have caused a buildEric Christopher
2010-02-04Rework constant expr and array handling for objectsize instcombining.Eric Christopher
2010-02-03If we're dealing with a zero-length array, don't lower to anyEric Christopher
2010-02-03Recommit this, looks like it wasn't the cause.Eric Christopher
2010-02-02Hopefully temporarily revert this.Eric Christopher
2010-02-02Re-add strcmp and known size object size checking optimization.Eric Christopher
2010-02-02don't turn (A & (C0?-1:0)) | (B & ~(C0?-1:0)) -> C0 ? A : BChris Lattner
2010-02-01fix PR6195, a bug constant folding scalar -> vector compares.Chris Lattner
2010-02-01Generalize target-independent folding rules for sizeof to handle moreDan Gohman
2010-02-01fix rdar://7590304, a miscompilation of objc apps on arm. The callerChris Lattner
2010-02-01fix rdar://7590304, an infinite loop in instcombine. In the invokeChris Lattner
2010-01-31Remove test which is no longer relevant.Eli Friedman
2010-01-31Simplify/generalize the xor+add->sign-extend instcombine.Eli Friedman
2010-01-31Add a small transform: transform -(X<<Y) to (-X<<Y) when the shift has a singleEli Friedman
2010-01-30Remove ARM-specific calling convention from this test. Target data isBob Wilson
2010-01-29Revert my last couple of patches. They appear to have broken bison.Eric Christopher
2010-01-29Improve isSafeToLoadUnconditionally to recognize that GEPs with constantBob Wilson
2010-01-29Add constant support to object size handling and remove defaultEric Christopher
2010-01-28Fix PR6165. The bug was that LHSKnownZero was being and'd with DemandedMaskDuncan Sands
2010-01-24change the canonical form of "cond ? -1 : 0" to be Chris Lattner
2010-01-23implement a simple instcombine xform that has been in theChris Lattner
2010-01-23InstCombine should not fold sext/zext of a vector and a bitcast to a scalar t...Mon P Wang
2010-01-19optimize ~(~X >>s Y) --> (X >>s Y), patch by Edmund GrimleyChris Lattner
2010-01-18my instcombine transformations to make extension elimination moreChris Lattner
2010-01-18filecheckize this.Chris Lattner