Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some comments suggested in code review. | Jakob Stoklund Olesen | 2012-07-06 | 1 | -0/+7 |
| | | | | llvm-svn: 159800 | ||||
* | Fix some ascii art in a comment to not have trailing backslashes (inspiration | Matt Beaumont-Gay | 2012-07-04 | 1 | -5/+5 |
| | | | | | | | from IfConversion.cc), and fix some spelling and grammar in the surrounding prose. llvm-svn: 159699 | ||||
* | Add an experimental early if-conversion pass, off by default. | Jakob Stoklund Olesen | 2012-07-04 | 1 | -0/+583 |
This pass performs if-conversion on SSA form machine code by speculatively executing both sides of the branch and using a cmov instruction to select the result. This can help lower the number of branch mispredictions on architectures like x86 that don't have predicable instructions. The current implementation is very aggressive, and causes regressions on mosts tests. It needs good heuristics that have yet to be implemented. llvm-svn: 159694 |