| commit | 96c2d4d945d053804c7dc0749bab81114dfdf809 | [log] [tgz] |
|---|---|---|
| author | Hal Finkel <hfinkel@anl.gov> | Fri Jun 08 15:38:21 2012 +0000 |
| committer | Hal Finkel <hfinkel@anl.gov> | Fri Jun 08 15:38:21 2012 +0000 |
| tree | ff8c62edda387e3d3aac964c245d582f907b6712 | |
| parent | 59036d2c06f7a88a68fb3eeadb2e315b5bb0cef2 [diff] |
Add the PPCCTRLoops pass: a PPC machine-code-level optimization pass to form CTR-based loop branching code. This pass is derived from the Hexagon HardwareLoops pass. The only significant enhancement over the Hexagon pass is that PPCCTRLoops will also attempt to delete the replaced add and compare operations if they are no longer otherwise used. Also, invalid preheader DebugLoc is not used. llvm-svn: 158204