[llvm] [ARM] Stop gluing ALU nodes to branches / selects (PR #116970)
Simon Tatham via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 20 09:29:36 PST 2024
================
@@ -204,10 +204,11 @@ define i32 @f12(i32 %x, i32 %y) {
define i32 @f13(i32 %x, i32 %y) {
; CHECK-LABEL: f13:
; CHECK: @ %bb.0:
-; CHECK-NEXT: and r2, r0, #4
-; CHECK-NEXT: bic r0, r1, #255
-; CHECK-NEXT: cmp r2, #42
-; CHECK-NEXT: orrne r0, r0, #16
+; CHECK-NEXT: and r0, r0, #4
+; CHECK-NEXT: bic r1, r1, #255
----------------
statham-arm wrote:
This looks a bit odd too – it seemed obviously better the previous way, and there's no obvious reason why your change should have caused it.
https://github.com/llvm/llvm-project/pull/116970
More information about the llvm-commits
mailing list