Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ARM] Search backwards for CMP when combining into CBZ | David Green | 2019-03-17 | 1 | -2/+1 |
| | | | | | | | | | | | The constant island pass currently only looks at the instruction immediately before a branch for a CMP to fold into a CBZ/CBNZ. This extends it to search backwards for the instruction that defines CPSR. We need to ensure that the register is not overridden between the CMP and the branch. Differential Revision: https://reviews.llvm.org/D59317 llvm-svn: 356336 | ||||
* | [ARM] Add some CBZ constant island tests. NFC | David Green | 2019-03-17 | 1 | -0/+68 |
llvm-svn: 356335 |