[PATCH] D30648: In Thumb1, materialize a move between low registers as a `movs`, if CPSR isn't live.

Jonathan Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 21:41:31 PST 2017


jroelofs added a comment.

awesome, thanks.



================
Comment at: test/CodeGen/ARM/smml.ll:47
+; CHECK-THUMB: push {r2}
+; CHECK-THUMB: pop  {r3}
+; CHECK-THUMB: ble
----------------
Interesting that CPSR is only live here because the `cmp` happens before where we wanted the `movs`.


https://reviews.llvm.org/D30648





More information about the llvm-commits mailing list