Skip to content

Commit 3155ed2

Browse files
committed
update test
1 parent f5a7bc7 commit 3155ed2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/test/CodeGen/NVPTX/f32x2-convert-i32x2.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ declare <2 x i32> @return_i32x2(i32 %0)
2222
define ptx_kernel void @store_i32x2(i32 %0, ptr %p) {
2323
; CHECK-SM90A-LABEL: store_i32x2(
2424
; CHECK-SM90A: {
25-
; CHECK-SM90A-NEXT: .reg .b32 %r<8>;
25+
; CHECK-SM90A-NEXT: .reg .b32 %r<6>;
2626
; CHECK-SM90A-NEXT: .reg .b64 %rd<2>;
2727
; CHECK-SM90A-EMPTY:
2828
; CHECK-SM90A-NEXT: // %bb.0:
@@ -35,14 +35,14 @@ define ptx_kernel void @store_i32x2(i32 %0, ptr %p) {
3535
; CHECK-SM90A-NEXT: call.uni (retval0), return_i32x2, (param0);
3636
; CHECK-SM90A-NEXT: ld.param.v2.b32 {%r2, %r3}, [retval0];
3737
; CHECK-SM90A-NEXT: } // callseq 0
38-
; CHECK-SM90A-NEXT: add.rn.f32 %r6, %r3, %r3;
39-
; CHECK-SM90A-NEXT: add.rn.f32 %r7, %r2, %r2;
40-
; CHECK-SM90A-NEXT: st.v2.b32 [%rd1], {%r7, %r6};
38+
; CHECK-SM90A-NEXT: add.rn.f32 %r4, %r3, %r3;
39+
; CHECK-SM90A-NEXT: add.rn.f32 %r5, %r2, %r2;
40+
; CHECK-SM90A-NEXT: st.v2.b32 [%rd1], {%r5, %r4};
4141
; CHECK-SM90A-NEXT: ret;
4242
;
4343
; CHECK-SM100-LABEL: store_i32x2(
4444
; CHECK-SM100: {
45-
; CHECK-SM100-NEXT: .reg .b32 %r<6>;
45+
; CHECK-SM100-NEXT: .reg .b32 %r<4>;
4646
; CHECK-SM100-NEXT: .reg .b64 %rd<4>;
4747
; CHECK-SM100-EMPTY:
4848
; CHECK-SM100-NEXT: // %bb.0:

0 commit comments

Comments
 (0)