Skip to content

Commit b7601c0

Browse files
committed
Fix failing test
1 parent 141e4b7 commit b7601c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-split-scalar-load-metadata.mir

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
!0 = !{i96 0, i96 9223372036854775808}
1818
!1 = !{!"omnipotent char", !2}
1919
!2 = !{!"Simple C/C++ TBAA"}
20+
!3 = !{i32 0, i32 2147483646}
2021
...
2122

2223
# Make sure range metadata is not preserved when widening loads, but
@@ -47,7 +48,7 @@ body: |
4748
; GFX12-NEXT: [[LOAD:%[0-9]+]]:sgpr(<3 x s32>) = G_LOAD [[COPY]](p4) :: (load (<3 x s32>), align 8
4849
; GFX12-NEXT: $sgpr0_sgpr1_sgpr2 = COPY [[LOAD]](<3 x s32>)
4950
%0:_(p4) = COPY $sgpr0_sgpr1
50-
%1:_(<3 x s32>) = G_LOAD %0 :: (load (<3 x s32>), align 8, addrspace 4, !range !0)
51+
%1:_(<3 x s32>) = G_LOAD %0 :: (load (<3 x s32>), align 8, addrspace 4, !range !3)
5152
$sgpr0_sgpr1_sgpr2 = COPY %1
5253
5354
...

0 commit comments

Comments
 (0)