Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Besides removing phi cycles that reduce to a single value, also remove dead | Bob Wilson | 2010-02-13 | 1 | -20/+68 |
| | | | | | | | | phi cycles. Adjust a few tests to keep dead instructions from being optimized away. This (together with my previous change for phi cycles) fixes Apple radar 7627077. llvm-svn: 96057 | ||||
* | Add a new pass on machine instructions to optimize away PHI cycles that | Bob Wilson | 2010-02-12 | 1 | -0/+141 |
reduce down to a single value. InstCombine already does this transformation but DAG legalization may introduce new opportunities. This has turned out to be important for ARM where 64-bit values are split up during type legalization: InstCombine is not able to remove the PHI cycles on the 64-bit values but the separate 32-bit values can be optimized. I measured the compile time impact of this (running llc on 176.gcc) and it was not significant. llvm-svn: 95951 |