[llvm] [DAG] Improve known bits of Zext/Sext loads with range metadata (PR #80829)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 05:05:17 PST 2024
================
@@ -21,9 +21,7 @@ define noundef i1 @logger(i32 noundef %logLevel, ptr %ea, ptr %pll) {
; CHECK-NEXT: ret
; CHECK-NEXT: .LBB1_2: // %land.rhs
; CHECK-NEXT: ldr x8, [x1]
-; CHECK-NEXT: ldrb w8, [x8]
-; CHECK-NEXT: cmp w8, #0
-; CHECK-NEXT: cset w0, ne
+; CHECK-NEXT: ldrb w0, [x8]
----------------
arsenm wrote:
Not enough test updates? I would expect a diff from the zext/sext/anyext cases
https://github.com/llvm/llvm-project/pull/80829
More information about the llvm-commits
mailing list