summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/constant-islands-cbz.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] Search backwards for CMP when combining into CBZDavid Green2019-03-171-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. NFCDavid Green2019-03-171-0/+68
llvm-svn: 356335
OpenPOWER on IntegriCloud