summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb2/ifcvt-cbz.mir
Commit message (Collapse)AuthorAgeFilesLines
* Describe stack-id as an enumSander de Smalen2019-06-171-6/+6
| | | | | | | | | | | | | | | | | This patch changes MIR stack-id from an integer to an enum, and adds printing/parsing support for this in MIR files. The default stack-id '0' is now renamed to 'default'. This should make MIR tests that have stack objects with different stack-ids more descriptive. It also clarifies code operating on StackID. Reviewers: arsenm, thegameg, qcolombet Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D60137 llvm-svn: 363533
* [ARM] Update check for CBZ in IfcvtDavid Green2019-04-231-0/+179
The check for creating CBZ in constant island pass recently obtained the ability to search backwards to find a Cmp instruction. The code in IfCvt should mirror this to allow more conversions to the smaller form. The common code has been pulled out into a separate function to be shared between the two places. Differential Revision: https://reviews.llvm.org/D60090 llvm-svn: 358977
OpenPOWER on IntegriCloud