summaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine
Commit message (Expand)AuthorAgeFilesLines
* Factor out the multiply analysis code in ComputeMaskedBits and apply it to theNick Lewycky2012-03-181-6/+74
* Revert r152907.Bill Wendling2012-03-161-12/+0
* The alignment of the pointer part of the store instruction may have anBill Wendling2012-03-161-0/+12
* In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman2012-03-161-0/+12
* Don't try to filecheck bitcode.Benjamin Kramer2012-03-101-1/+1
* Make this transformation slightly less agressive and more correct.Bill Wendling2012-03-101-0/+35
* Testcase for r151691.Bill Wendling2012-02-291-0/+19
* Reinstate the optimization from r151449 with a fix to not turn 'gep %x' intoNick Lewycky2012-02-261-3/+1
* Roll these back to r151448 until I figure out how they're breakingNick Lewycky2012-02-251-1/+3
* Teach instsimplify to be more aggressive when analyzing comparisons of pointersNick Lewycky2012-02-251-3/+1
* InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer2012-02-211-0/+11
* Test case for r150978.Benjamin Kramer2012-02-201-0/+13
* InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer2012-02-201-0/+26
* InstCombine: Make OptimizePointerDifference more aggressive.Benjamin Kramer2012-02-201-0/+26
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky2012-02-162-3/+1
* Check against umin while converting fcmp into an icmp.Devang Patel2012-02-131-0/+35
* Revert "Disable InstCombine unsafe folding bitcasts of calls w/ varargs."Jim Grosbach2012-02-032-0/+37
* Disable InstCombine unsafe folding bitcasts of calls w/ varargs.Jim Grosbach2012-02-012-37/+0
* Add r149110 back with a fix for when the vector and the int have the sameRafael Espindola2012-01-271-6/+5
* Revert r149110 and add a testcase that was crashing since that revision.Rafael Espindola2012-01-271-2/+12
* enhance constant folding to be able to constant fold bitcast of Chris Lattner2012-01-271-2/+2
* Don't try to create a GEP when the pointee type is unsized (such GEPsDuncan Sands2012-01-111-0/+12
* InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer2012-01-091-0/+20
* Tweak my last commit to be less conservative about uses.Benjamin Kramer2012-01-081-12/+12
* InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer2012-01-081-0/+80
* FileCheck hygiene.Benjamin Kramer2012-01-051-1/+1
* Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky2012-01-041-0/+54
* Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky2011-12-311-0/+18
* Add an explicit test that we now fold cttz.i32(..., true) >> 5 -> 0.Chandler Carruth2011-12-241-7/+13
* InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer2011-12-241-0/+12
* ComputeMaskedBits: Make knownzero computation more aggressive for ctlz with u...Benjamin Kramer2011-12-242-3/+16
* InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer2011-12-241-0/+12
* Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper2011-12-151-0/+20
* Manually upgrade the test suite to specify the flag to cttz and ctlz.Chandler Carruth2011-12-123-16/+16
* Add support for vectors of pointers.Nadav Rotem2011-12-051-0/+37
* Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper2011-12-011-2/+12
* Removed use of grep from test and moved it to be with other icmp testsPete Cooper2011-12-012-10/+11
* Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper2011-12-011-0/+10
* Add support for sqrt, sqrtl, and sqrtf in TargetLibraryInfo. Disable Chad Rosier2011-11-291-0/+17
* Fix a theoretical problem (not seen in the wild): if different instances of aDuncan Sands2011-11-291-3/+10
* Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman2011-11-281-0/+22
* Make SelectionDAG::InferPtrAlignment use llvm::ComputeMaskedBits instead of d...Eli Friedman2011-11-281-3/+3
* remove autoupgrade support for old forms of llvm.prefetch and the oldChris Lattner2011-11-272-48/+0
* Upgrade syntax of tests using volatile instructions to use 'load volatile' in...Chris Lattner2011-11-2710-24/+24
* Convert to the new EH model.Bill Wendling2011-11-081-10/+5
* Make sure we use the right insertion point when instcombine replaces a PHI wi...Eli Friedman2011-11-011-0/+25
* Extend instcombine's shufflevector simplification to handle more cases where ...Eli Friedman2011-10-211-0/+46
* Add support for the Objective-C personality function to the instructionBill Wendling2011-10-171-0/+52
* Add a routine to swap branch instruction operands, and update anyChandler Carruth2011-10-171-3/+28
* Added a testcase for r141599, rdar://problem/10063881.Lang Hames2011-10-111-0/+20