Skip to content

Commit e190b12

Browse files
committed
Drop uses of udef
1 parent 8c0f604 commit e190b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/LoongArch/inline-asm-constraint-q.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ define i32 @constraint_q_not_r1(i32 %0) {
1515
; CHECK-NOT: csrxchg ${{[a-z]*}}, $r1, 0
1616
; CHECK-NOT: csrxchg ${{[a-z]*}}, $ra, 0
1717
entry:
18-
%2 = tail call i32 asm "", "={$r1},{$r1}"(i32 undef)
18+
%2 = tail call i32 asm "", "={$r1},{$r1}"(i32 0)
1919
%3 = tail call i32 asm "csrxchg $0, $1, 0", "=r,q,0"(i32 %2, i32 %0)
2020
ret i32 %3
2121
}

0 commit comments

Comments
 (0)