commit | 9ba2448193a4eb34a6d5df6a90140a1cef920ee3 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Tue Jun 19 00:12:13 2018 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Tue Jun 19 00:12:13 2018 +0000 |
tree | 781f474a9ef2f971f0f6da9b336887218e747b64 | |
parent | 959e5f81645e961ecd2926a3ab7cf560da559b7e [diff] |
[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.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335003 91177308-0d34-0410-b5e6-96231b3b80d8