[PATCH] D47387: [ARM] Enable SETCCCARRY lowering for Thumb1.

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 26 03:08:43 PDT 2018


rogfer01 accepted this revision.
rogfer01 added a comment.
This revision is now accepted and ready to land.

Thanks @efriedma looks good to me.



================
Comment at: test/CodeGen/ARM/wide-compares.ll:13
+; CHECK-ARM-NEXT:    movwlt r12, #1
+; CHECK-ARM-NEXT:    mov r0, r12
+; CHECK-ARM-NEXT:    bx lr
----------------
I wonder if we could predicate more aggressively here and spare us that `r12` (not sure if that'd be a win though)

```
movwlt r0, #1 
movwge r0, #2
```


Repository:
  rL LLVM

https://reviews.llvm.org/D47387





More information about the llvm-commits mailing list