Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid creating redundant PHIs in SSAUpdater::GetValueInMiddleOfBlock. | Bob Wilson | 2010-01-27 | 1 | -41/+75 |
| | | | | | | | This was already being done in SSAUpdater::GetValueAtEndOfBlock so I've just changed SSAUpdater to check for existing PHIs in both places. llvm-svn: 94690 | ||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -2/+2 |
| | | | | llvm-svn: 92603 | ||||
* | improve indentation avoid a pointless conversion from weakvh to trackingvh, | Chris Lattner | 2009-12-21 | 1 | -3/+3 |
| | | | | | | no functionality change. llvm-svn: 91848 | ||||
* | fix PR5837 by having SSAUpdate reuse phi nodes for the | Chris Lattner | 2009-12-21 | 1 | -1/+23 |
| | | | | | | | | | | 'GetValueInMiddleOfBlock' case, instead of inserting duplicates. A similar fix is almost certainly needed by the machine-level SSAUpdate implementation. llvm-svn: 91820 | ||||
* | add an assert to make it really clear what this is doing. Return singularval as | Chris Lattner | 2009-12-04 | 1 | -1/+5 |
| | | | | | | a compile time perf optimization to avoid a load. llvm-svn: 90507 | ||||
* | alternate fix for PR5258 which avoids worklist problems, with reduced testcase. | Chris Lattner | 2009-10-20 | 1 | -11/+6 |
| | | | | llvm-svn: 84667 | ||||
* | Fix PR5258, jump-threading creating invalid PHIs. | Torok Edwin | 2009-10-20 | 1 | -2/+10 |
| | | | | | | | When an incoming value for a PHI is updated, we must also updated all other incoming values for the same BB to match, otherwise we create invalid PHIs. llvm-svn: 84638 | ||||
* | Strip trailing white space. | Duncan Sands | 2009-10-16 | 1 | -33/+31 |
| | | | | llvm-svn: 84256 | ||||
* | add a simple helper method. | Chris Lattner | 2009-10-10 | 1 | -0/+6 |
| | | | | llvm-svn: 83745 | ||||
* | add ability for clients of SSAUpdater to find out about the | Chris Lattner | 2009-10-10 | 1 | -1/+9 |
| | | | | | | PHI nodes inserted. llvm-svn: 83744 | ||||
* | add the ability to get a rewritten value from the middle of a block, | Chris Lattner | 2009-10-10 | 1 | -3/+92 |
| | | | | | | | not just at the end. Add a big comment explaining when this could be useful (which never happens for jump threading). llvm-svn: 83741 | ||||
* | rename GetValueInBlock -> GetValueAtEndOfBlock to better reflect | Chris Lattner | 2009-10-10 | 1 | -11/+11 |
| | | | | | | what it does. llvm-svn: 83740 | ||||
* | use a typedef instead of spelling out an insane type. Yay for auto someday. | Chris Lattner | 2009-10-10 | 1 | -3/+3 |
| | | | | llvm-svn: 83707 | ||||
* | Implement an efficient and fully general SSA update mechanism that | Chris Lattner | 2009-10-10 | 1 | -0/+232 |
works on unstructured CFGs. This implements PR217, our oldest open PR. llvm-svn: 83705 |