[ARM] Testcase for Thumb1 cmp with constants.
authorEli Friedman <efriedma@codeaurora.org>
Tue, 19 Jun 2018 00:12:13 +0000 (00:12 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Tue, 19 Jun 2018 00:12:13 +0000 (00:12 +0000)
commit9e3bb196cba231fdc85c5d272762d8c881697299
treebadefa2c2641efaa13b94ab28159fd1a26b300c7
parente6b4719244f1752c1730893da664a6cfc90b4486
[ARM] Testcase for Thumb1 cmp with constants.

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
llvm/test/CodeGen/Thumb/thumb1-cmp.ll [new file with mode: 0644]