aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine
AgeCommit message (Expand)Author
2012-04-30Merging r155818:Bill Wendling
2012-04-18FileCheckizeJakob Stoklund Olesen
2012-04-18Nobody likes shifty instructions, but that was a bit strong.Jakob Stoklund Olesen
2012-04-08Teach InstCombine to nuke a common alloca pattern -- an alloca which hasChandler Carruth
2012-04-04Always compute all the bits in ComputeMaskedBits.Rafael Espindola
2012-03-29Filecheck-ize this test so that it actually tests something reasonable.Chandler Carruth
2012-03-18Factor out the multiply analysis code in ComputeMaskedBits and apply it to theNick Lewycky
2012-03-16Revert r152907.Bill Wendling
2012-03-16The alignment of the pointer part of the store instruction may have anBill Wendling
2012-03-16In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman
2012-03-10Don't try to filecheck bitcode.Benjamin Kramer
2012-03-10Make this transformation slightly less agressive and more correct.Bill Wendling
2012-02-29Testcase for r151691.Bill Wendling
2012-02-26Reinstate the optimization from r151449 with a fix to not turn 'gep %x' intoNick Lewycky
2012-02-25Roll these back to r151448 until I figure out how they're breakingNick Lewycky
2012-02-25Teach instsimplify to be more aggressive when analyzing comparisons of pointersNick Lewycky
2012-02-21InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer
2012-02-20Test case for r150978.Benjamin Kramer
2012-02-20InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer
2012-02-20InstCombine: Make OptimizePointerDifference more aggressive.Benjamin Kramer
2012-02-16Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky
2012-02-13Check against umin while converting fcmp into an icmp.Devang Patel
2012-02-03Revert "Disable InstCombine unsafe folding bitcasts of calls w/ varargs."Jim Grosbach
2012-02-01Disable InstCombine unsafe folding bitcasts of calls w/ varargs.Jim Grosbach
2012-01-27Add r149110 back with a fix for when the vector and the int have the sameRafael Espindola
2012-01-27Revert r149110 and add a testcase that was crashing since that revision.Rafael Espindola
2012-01-27enhance constant folding to be able to constant fold bitcast of Chris Lattner
2012-01-11Don't try to create a GEP when the pointee type is unsized (such GEPsDuncan Sands
2012-01-09InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer
2012-01-08Tweak my last commit to be less conservative about uses.Benjamin Kramer
2012-01-08InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer
2012-01-05FileCheck hygiene.Benjamin Kramer
2012-01-04Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky
2011-12-31Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky
2011-12-24Add an explicit test that we now fold cttz.i32(..., true) >> 5 -> 0.Chandler Carruth
2011-12-24InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer
2011-12-24ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with u...Benjamin Kramer
2011-12-24InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer
2011-12-15Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper
2011-12-12Manually upgrade the test suite to specify the flag to cttz and ctlz.Chandler Carruth
2011-12-05Add support for vectors of pointers.Nadav Rotem
2011-12-01Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper
2011-12-01Removed use of grep from test and moved it to be with other icmp testsPete Cooper
2011-12-01Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper
2011-11-29Add support for sqrt, sqrtl, and sqrtf in TargetLibraryInfo. Disable Chad Rosier
2011-11-29Fix a theoretical problem (not seen in the wild): if different instances of aDuncan Sands
2011-11-28Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman
2011-11-28Make SelectionDAG::InferPtrAlignment use llvm::ComputeMaskedBits instead of d...Eli Friedman
2011-11-27remove autoupgrade support for old forms of llvm.prefetch and the oldChris Lattner
2011-11-27Upgrade syntax of tests using volatile instructions to use 'load volatile' in...Chris Lattner