Skip to content

Commit d1f23ba

Browse files
committed
Update inline-asm-constraint-q test case
1 parent 5c70902 commit d1f23ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
; RUN: llc --mtriple=loongarch64 --mattr=+f --verify-machineinstrs < %s | FileCheck %s
33

44
;; Check that the "q" operand is not R0.
5-
define i32 @constraint_q_not_r0(i32 %a) {
5+
define i32 @constraint_q_not_r0() {
66
; CHECK-NOT: csrxchg ${{[a-z]*}}, $r0, 0
77
; CHECK-NOT: csrxchg ${{[a-z]*}}, $zero, 0
88
entry:
9-
%1 = tail call i32 asm "csrxchg $0, $1, $2", "=r,q,i,0"(i32 0, i32 0, i32 %a)
9+
%1 = tail call i32 asm "csrxchg $0, $1, $2", "=r,q,i,0"(i32 0, i32 0, i32 0)
1010
ret i32 %1
1111
}
1212

0 commit comments

Comments
 (0)