summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb/thumb1-cmp.ll
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] Testcase for Thumb1 cmp with constants.Eli Friedman2018-06-191-0/+110
Even if a comparison isn't legal, we should try to prefer constants which can be materialized with a two-instruction sequence. (Thinking about it a bit more, there might be some more clever sequence we could generate for certain comparisons invoving powers of two, but I'm not sure exactly what that would look like.) llvm-svn: 335003
OpenPOWER on IntegriCloud