Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Thumb1] Teach optimizeCompareInstr about thumb1 compares | James Molloy | 2016-09-09 | 1 | -0/+57 |
This avoids us doing a completely unneeded "cmp r0, #0" after a flag-setting instruction if we only care about the Z or C flags. Add LSL/LSR to the whitelist while we're here and add testing. This code could really do with a spring clean. llvm-svn: 281027 |