summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Make SimplifyDemandedVectorElts simplify vectors with multipleDan Gohman2008-09-091-34/+82
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-041-1/+1
* Don't apply this transform to vectors. Fixes PR2756.Nick Lewycky2008-09-031-3/+4
* Revert r54876 r54877 r54906 and r54907. Evan found that these caused a 20%Nick Lewycky2008-08-211-68/+22
* Silence a compiler warning.Evan Cheng2008-08-201-1/+2
* Fixed shuffle optimizations to handle non power of 2 vectorsMon P Wang2008-08-201-4/+4
* Make this comment clearer. Instead of using an ambiguous ~ (not) on an icmpNick Lewycky2008-08-171-1/+1
* Consider the case where xor by -1 and xor by 128 have been combined already toNick Lewycky2008-08-171-1/+23
* I found a better place for this optz'n.Nick Lewycky2008-08-171-14/+10
* Xor'ing both sides of icmp by sign-bit is equivalent to swapping signedness ofNick Lewycky2008-08-171-22/+50
* use smallvector instead of vector for a couple worklists. This speeds up ins...Chris Lattner2008-08-151-2/+2
* Fix a bogus srem rule - a negative value srem'd by a power-of-2Dan Gohman2008-08-131-3/+0
* Implement support for simplifying vector comparisons by 0.0 and 1.0 like weChris Lattner2008-08-111-4/+12
* Fix a shufflevector instcombine that was emitting invalid masks indicesDan Gohman2008-08-061-3/+5
* optimize a common idiom generated by clang for bitfield access, PR2638.Chris Lattner2008-08-061-1/+31
* Zap sitofp/fptoui pairs. In all cases when the sign difference Chris Lattner2008-08-061-16/+30
* Reinstate this optimization, but without the miscompile. Thanks to Bill forNick Lewycky2008-08-061-0/+15
* Revert r53282. This was causing a miscompile on Linux. Also, the transformationBill Wendling2008-08-051-16/+0
* Add vector shifts to the IR, patch by Eli Friedman.Nate Begeman2008-07-291-1/+2
* Enable first-class aggregates support.Dan Gohman2008-07-231-3/+1
* Fix PR2553Chris Lattner2008-07-171-1/+2
* Redo InstCombiner::visitExtractValueInst. Instead of using the (complicate)Matthijs Kooijman2008-07-161-5/+80
* Fix PR2296. Do not transform x86_sse2_storel_dq into a full-width store.Evan Cheng2008-07-161-1/+0
* Fix PR2506 by being a bit more careful about reverse fact propagation whenChris Lattner2008-07-141-64/+80
* Enhance analysis of srem.Nick Lewycky2008-07-121-15/+3
* Document 'mask' in this calculation.Nick Lewycky2008-07-111-0/+1
* Remove misleading constant from comment.Nick Lewycky2008-07-111-1/+1
* Add another optimization from PR2330. Also catch some missing cases that areNick Lewycky2008-07-111-0/+39
* a missed optimization that Eli spottedChris Lattner2008-07-111-1/+1
* another bug in the same line.Chris Lattner2008-07-111-1/+1
* fix a bug spotted by Eli's eagle eyesChris Lattner2008-07-111-2/+2
* simplify and merge a bunch of code. Instead of comparing againstChris Lattner2008-07-111-81/+52
* fold away (x <= cst) earlier, allowing us to not have to Chris Lattner2008-07-111-103/+68
* Fix folding of icmp's of i1 where the comparison is signed. The codeChris Lattner2008-07-111-10/+22
* Fix a bogus optimization: folding (slt (zext i1 A to i32), 1) -> (slt i1 A, t...Chris Lattner2008-07-111-16/+15
* Fix overzealous optimization. Thanks to Duncan Sands for pointing out my error!Nick Lewycky2008-07-101-4/+9
* Simplify, suggested by Chris Lattner.Nick Lewycky2008-07-091-1/+1
* Fold (a < 8) && (b < 8) into (a|b) < 8 for unsigned less or greater than.Nick Lewycky2008-07-091-0/+16
* Fold ((1 << a) & 1) to (a == 0).Nick Lewycky2008-07-091-0/+12
* Reduce x - y to -y when we know the 'x' part will get masked off anyways.Nick Lewycky2008-07-091-1/+12
* Fix PR2496, a really nasty bug which involved sinking volatile loads Chris Lattner2008-07-081-3/+11
* Make DenseMap's insert return a pair, to more closely resemble std::map.Dan Gohman2008-07-071-1/+1
* Fix missed optimization opportunity when analyzing cast of mul and select.Nick Lewycky2008-07-051-9/+14
* - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an emp...Evan Cheng2008-06-301-2/+2
* Revert (52748 and friends):Anton Korobeynikov2008-06-291-2/+2
* Move GetConstantStringInfo to lib/Analysis. RemoveEric Christopher2008-06-261-2/+2
* Fix PR2488, a case where we deleted stack restores too aggressively.Chris Lattner2008-06-251-4/+9
* Fix for PR2479: correctly optimize expressions like (a > 13) & (a == Eli Friedman2008-06-211-2/+1
* Fix PR2471, which is a bug involving an invalid promotion from a conditional ...Chris Lattner2008-06-201-1/+7
* Remove dead code causing a warning.Bill Wendling2008-06-191-2/+0
OpenPOWER on IntegriCloud