aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2011-10-17Add support for the Objective-C personality function to the instructionBill Wendling
2011-10-17Add a routine to swap branch instruction operands, and update anyChandler Carruth
2011-10-11Added a testcase for r141599, rdar://problem/10063881.Lang Hames
2011-10-05Revert 141203. InstCombine is looping on unit tests.Jim Grosbach
2011-10-05Update InstCombine worklist after instruction transform is complete.Jim Grosbach
2011-10-02Add a new icmp+select optz'n. Also shows off the load(cst) folding added inNick Lewycky
2011-09-30float comparison to double 'zero' constant can just be a float 'zero.'Jim Grosbach
2011-09-30Add forgotten tests that the cleanup flag is cleared if thereDuncan Sands
2011-09-30Inlining often produces landingpad instructions with repeatedDuncan Sands
2011-09-27Stop emitting instructions with the name "tmp" they eat up memory and have to...Benjamin Kramer
2011-09-19Fix an infinite loop where a transform in InstCombiner::visitAnd claims a con...Eli Friedman
2011-09-15Make demanded-elt simplification for shufflevector slightly stronger. Spotte...Eli Friedman
2011-09-07Forgot to add this trampoline testcase.Duncan Sands
2011-09-06Split the init.trampoline intrinsic, which currently combines GCC'sDuncan Sands
2011-09-01Update to new EH scheme.Bill Wendling
2011-08-29Fixes following the CR by Chris and Duncan:Nadav Rotem
2011-08-28Bitcasts are transitive. Bitcast-Bitcast-X becomes Bitcast-X.Nadav Rotem
2011-08-27Auto upgrade the old EH scheme to use the new one. This is on a trial basis. IfBill Wendling
2011-08-24Implement Constant::isAllOnesValue(). Fix ConstantFolding to use the new api.Nadav Rotem
2011-08-23Revert "Address Duncan's CR request:"Eric Christopher
2011-08-23Fix a typo in the test from the previous commit.Nadav Rotem
2011-08-23Address Duncan's CR request:Nadav Rotem
2011-08-20Add constant folding support for bitcasts of splat vectors to integers.Nadav Rotem
2011-08-16An additional atomic test; related to r137662.Eli Friedman
2011-08-16Migrate this test from llvm/test/FrontendC++/ptr-to-method-devirt.cpp andEric Christopher
2011-08-15Update instcombine for atomic load/store.Eli Friedman
2011-08-14This transform is not safe. Thanks to Eli for pointing that out!Nick Lewycky
2011-08-14Don't attempt to add 'nsw' when intermediate instructions had no such guarantee.Nick Lewycky
2011-08-14Teach instcombine to preserve the nsw bit by doing an after-the-fact analysisNick Lewycky
2011-08-12Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman
2011-08-03Fix logical error when detecting lifetime intrinsics.Nick Lewycky
2011-08-02Teach InstCombine that lifetime intrincs aren't a real user on the result of aNick Lewycky
2011-08-02Lifetime intrinsics on undef are dead.Nick Lewycky
2011-07-31Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola
2011-07-29Make sure to correctly clear the exact/nuw/nsw flags off of shifts when they ...Eli Friedman
2011-07-13Change test case, one that actually failed before my commit.Evan Cheng
2011-07-13It's not safe to fold (fptrunc (sqrt (fpext x))) to (sqrtf x) if there is ano...Evan Cheng
2011-07-11Don't duplicate the work done by a gep into a "bitcast" if the gep hasRafael Espindola
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-07-04PR10267: Don't combine an equality compare with an AND into an inequality com...Benjamin Kramer
2011-06-23PR10180: Fix a instcombine crash with FP vectors.Eli Friedman
2011-06-18rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner
2011-06-17Stop accepting and ignoring attributes in function types. Attributes are app...Chris Lattner
2011-06-17make the asmparser reject function and type redefinitions. 'Merging' hasn't ...Chris Lattner
2011-06-17remove parser support for the obsolete "multiple return values" syntax, whichChris Lattner
2011-06-17Remove support for using "foo" as symbols instead of %"foo". This is ancientChris Lattner
2011-06-17manually upgrade a bunch of tests to modern syntax, and remove some thatChris Lattner
2011-06-13Avoid fusing bitcasts with dynamic allocas if the amount-to-allocateStuart Hastings
2011-06-13InstCombine: Fold A-b == C --> b == A-C if A and C are constants.Benjamin Kramer
2011-06-12InstCombine: Shrink ((zext X) & C1) == C2 to fold away the cast if the "zext"...Benjamin Kramer