aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2013-03-11Upgrading debug info test cases to be (more) compatible with the current debu...David Blaikie
2013-03-06InstCombine: Don't shrink allocas when combining with a bitcast.Jim Grosbach
2013-03-02recommit r172363 & r171325 (reverted in r172756)Nuno Lopes
2013-02-28Fix a bug in instcombine for fmul in fast math mode.Quentin Colombet
2013-02-26Constant fold vector bitcasts of halves similarly to how floats and doubles a...Michael Ilseman
2013-02-22Use references to attribute groups on the call/invoke instructions.Bill Wendling
2013-02-19Temporarily revert r175470 for more review.Bill Wendling
2013-02-18Check to see if the 'no-builtin' attribute is set before simplifying a librar...Bill Wendling
2013-02-16The transform is:Bill Wendling
2013-02-15Teach InstCombine to work with smaller legal types in icmp (shl %v, C1), C2Arnaud A. de Grandmaison
2013-02-14Teach the DataLayout aware constant folder to be much more aggressive towardsNick Lewycky
2013-02-11Optimization: bitcast (<1 x ...> insertelement ..., X, ...) to ... ==> bitcas...Michael Ilseman
2013-02-11Remove trailing whitespaceMichael Ilseman
2013-02-08Revert "Have InstCombine call SipmlifyCall when handling calls. Test case inc...Andrew Trick
2013-02-07Have InstCombine call SipmlifyCall when handling calls. Test case included.Michael Ilseman
2013-02-07Preserve fast-math flags after reassociation and commutation. Update test casesMichael Ilseman
2013-02-07whitespaceMichael Ilseman
2013-02-05InstCombine: Fix and simplify the inttoptr side too.Benjamin Kramer
2013-02-05InstCombine: Harden code to work with vectors of pointers and simplify it a bit.Benjamin Kramer
2013-02-01Revert r174152. The shift amount may overflow and in that case this transform...Nadav Rotem
2013-02-01Optimize shift lefts of a constant by a value plus constant into a single shift.Nadav Rotem
2013-01-30InstCombine: canonicalize sext-and --> selectNadav Rotem
2013-01-24ConstantFolding: Add a missing folding that leads to a miscompile.Benjamin Kramer
2013-01-23ConstantFolding: Evaluate GEP indices in the index type.Benjamin Kramer
2013-01-23Revert "InstCombine: Clean up weird code that talks about a modulus that's lo...Benjamin Kramer
2013-01-21Transform (sub 0, (zext bool to A)) to (sext bool to A) andPaul Redmond
2013-01-17Reverting r171325 & r172363. This was causing a mis-compile on the self-hoste...Bill Wendling
2013-01-15Teach InstCombine to optimize extract of a value from a vector add operation ...Nadav Rotem
2013-01-151. Hoist minus sign as high as possible in an attempt to revealShuxin Yang
2013-01-14This change is to implement following rules under the condition C_A and/or C_RShuxin Yang
2013-01-10Teach InstCombine to hoist FABS and FNEG through FPTRUNC instructions. The a...Owen Anderson
2013-01-09Consider expression "0.0 - X" as the negation of X ifShuxin Yang
2013-01-07This change is to implement following rules:Shuxin Yang
2013-01-07When code size is the priority (Oz, MinSize attribute), help llvmQuentin Colombet
2013-01-01Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-31recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). Hope...Nuno Lopes
2012-12-31Revert "add support for PHI nodes to ObjectSizeOffsetVisitor"Benjamin Kramer
2012-12-31Add extra CHECK to make sure that 'or' instruction was replaced.Jakub Staszak
2012-12-31add support for PHI nodes to ObjectSizeOffsetVisitorNuno Lopes
2012-12-31teach instcombine to preserve TBAA tag when merging two stores, part ofChris Lattner
2012-12-31Transform (A == C1 || A == C2) into (A & ~(C1 ^ C2)) == C1Jakub Staszak
2012-12-30Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-30Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-19Transform (x&C)>V into (x&C)!=0 where possiblePaul Redmond
2012-12-18rdar://12801297 Shuxin Yang
2012-12-14Add back FoldOpIntoPhi optimizations with fix. Included test cases to help ca...Michael Ilseman
2012-12-14Fix a crash in ValueTracking on vectors of pointers. Nadav Rotem
2012-12-14rdar://12753946Shuxin Yang
2012-12-13Revert r170020, "Simplify negated bit test", for now.NAKAMURA Takumi
2012-12-12unHECKify test fixed by Jacob in r159003.Jakub Staszak