Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update instcombine for atomic load/store. | Eli Friedman | 2011-08-15 | 1 | -1/+6 |
| | | | | llvm-svn: 137664 | ||||
* | Shorten some expressions by using ArrayRef::slice(). | Frits van Bommel | 2011-07-25 | 1 | -2/+1 |
| | | | | llvm-svn: 135910 | ||||
* | Convert GetElementPtrInst to use ArrayRef. | Jay Foad | 2011-07-25 | 1 | -2/+2 |
| | | | | llvm-svn: 135904 | ||||
* | land David Blaikie's patch to de-constify Type, with a few tweaks. | Chris Lattner | 2011-07-18 | 1 | -5/+5 |
| | | | | llvm-svn: 135375 | ||||
* | Final step of instcombine debuginfo; switch a couple more places over to ↵ | Eli Friedman | 2011-05-27 | 1 | -9/+23 |
| | | | | | | InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. llvm-svn: 132167 | ||||
* | Stop trying to have instcombine preserve LCSSA form: this was not | Duncan Sands | 2011-04-27 | 1 | -3/+0 |
| | | | | | | | | | | effective in avoiding recomputation of LCSSA form; the widespread use of instsimplify (which looks through phi nodes) means it was not preserving LCSSA form anyway; and instcombine is no longer scheduled in the middle of the loop passes so this doesn't matter anymore. llvm-svn: 130301 | ||||
* | Rename a misleadingly-named variable. | Frits van Bommel | 2011-04-16 | 1 | -5/+5 |
| | | | | llvm-svn: 129644 | ||||
* | Fix bug when checking phi operands in InstCombiner::visitPHINode(), | Jay Foad | 2011-04-16 | 1 | -1/+1 |
| | | | | | | found by code inspection. llvm-svn: 129641 | ||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
* | Remove PHINode::reserveOperandSpace(). Instead, add a parameter to | Jay Foad | 2011-03-30 | 1 | -10/+7 |
| | | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537 | ||||
* | (Almost) always call reserveOperandSpace() on newly created PHINodes. | Jay Foad | 2011-03-30 | 1 | -0/+1 |
| | | | | llvm-svn: 128535 | ||||
* | Make more use of PHINode::getNumIncomingValues(). | Jay Foad | 2011-03-28 | 1 | -4/+4 |
| | | | | llvm-svn: 128406 | ||||
* | have instcombine preserve nsw/nuw/exact when sinking | Chris Lattner | 2011-02-17 | 1 | -11/+53 |
| | | | | | | common operations through a phi. llvm-svn: 125790 | ||||
* | fix typo | Chris Lattner | 2011-02-17 | 1 | -1/+1 |
| | | | | llvm-svn: 125787 | ||||
* | fix instcombine merging GEPs through a PHI to only make the | Chris Lattner | 2011-02-17 | 1 | -3/+7 |
| | | | | | | result inbounds if all of the inputs are inbounds. llvm-svn: 125785 | ||||
* | Teach InstructionSimplify about phi nodes. I chose to have it simply | Duncan Sands | 2010-11-14 | 1 | -2/+3 |
| | | | | | | | | | | offload the work to hasConstantValue rather than do something more complicated (such handling mutually recursive phis) because (1) it is not clear it is worth it; and (2) if it is worth it, maybe such logic would be better placed in hasConstantValue. Adjust some GVN tests which are now cleaned up much further (eg: all phi nodes are removed). llvm-svn: 119043 | ||||
* | cache result of operator* | Gabor Greif | 2010-07-12 | 1 | -2/+3 |
| | | | | llvm-svn: 108147 | ||||
* | fix PR6512, a case where instcombine would incorrectly merge loads | Chris Lattner | 2010-03-05 | 1 | -0/+2 |
| | | | | | | from different addr spaces. llvm-svn: 97813 | ||||
* | There are two ways of checking for a given type, for example isa<PointerType>(T) | Duncan Sands | 2010-02-16 | 1 | -2/+2 |
| | | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344 | ||||
* | Add newline at EOF. | Benjamin Kramer | 2010-01-05 | 1 | -1/+1 |
| | | | | llvm-svn: 92727 | ||||
* | split PHI node stuff out to InstCombinePHI.cpp | Chris Lattner | 2010-01-05 | 1 | -0/+841 |
llvm-svn: 92682 |