summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix misoptimization of: xor i1 (icmp eq (X, C1), icmp s[lg]t (X, C2))Nick Lewycky2008-09-301-2/+3
* Now Attributes are divided in three groupsDevang Patel2008-09-261-9/+17
* Large mechanical patch.Devang Patel2008-09-251-32/+32
* s/ParamAttrsWithIndex/FnAttributeWithIndex/gDevang Patel2008-09-241-8/+8
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-231-8/+8
* Improve instcombine's handling of integer min and max in two ways:Dan Gohman2008-09-161-29/+115
* On 64-bit targets, change 32-bit getelementptr indices to be 64-bitDan Gohman2008-09-111-1/+12
* Fix a vectorshuffle instcombine bug introduced by r55995.Dan Gohman2008-09-111-1/+4
* Fix a copy+paste bug that Duncan spotted. For severalDan Gohman2008-09-111-1/+1
* In my analysis for r56076 I missed the case where the originalDan Gohman2008-09-111-1/+2
* Fix an icmp+sdiv optimization to check for and handle an overflowDan Gohman2008-09-101-1/+16
* Fix a warning about comparing signed and unsigned values.Dan Gohman2008-09-101-1/+1
* 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
OpenPOWER on IntegriCloud