[llvm] 110319f - [AMDGPU] Regenerate some MIR checks
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 05:30:59 PST 2023
Author: Jay Foad
Date: 2023-12-04T13:30:00Z
New Revision: 110319f20bb837ba47220b11da104713566c1e7e
URL: https://github.com/llvm/llvm-project/commit/110319f20bb837ba47220b11da104713566c1e7e
DIFF: https://github.com/llvm/llvm-project/commit/110319f20bb837ba47220b11da104713566c1e7e.diff
LOG: [AMDGPU] Regenerate some MIR checks
Added:
Modified:
llvm/test/CodeGen/AMDGPU/waitcnt-overflow.mir
llvm/test/CodeGen/AMDGPU/waitcnt-preexisting-vscnt.mir
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AMDGPU/waitcnt-overflow.mir b/llvm/test/CodeGen/AMDGPU/waitcnt-overflow.mir
index 7afd63dd35ae6..0e5ec3f108f4e 100644
--- a/llvm/test/CodeGen/AMDGPU/waitcnt-overflow.mir
+++ b/llvm/test/CodeGen/AMDGPU/waitcnt-overflow.mir
@@ -48,6 +48,7 @@ body: |
; GFX9-NEXT: $vgpr4 = V_MAC_F32_e32 0, $vgpr5, $vgpr4, implicit $mode, implicit $exec
; GFX9-NEXT: $vgpr6 = V_MAC_F32_e32 0, $vgpr7, $vgpr6, implicit $mode, implicit $exec
; GFX9-NEXT: S_ENDPGM 0
+ ;
; GFX10-LABEL: name: max-counter-lgkmcnt
; GFX10: liveins: $vgpr99
; GFX10-NEXT: {{ $}}
@@ -79,6 +80,7 @@ body: |
; GFX10-NEXT: S_WAITCNT 52863
; GFX10-NEXT: $vgpr6 = V_MAC_F32_e32 0, $vgpr7, $vgpr6, implicit $mode, implicit $exec
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: max-counter-lgkmcnt
; GFX11: liveins: $vgpr99
; GFX11-NEXT: {{ $}}
@@ -219,6 +221,7 @@ body: |
; GFX9-NEXT: $vgpr2 = V_MAC_F32_e32 0, $vgpr3, $vgpr2, implicit $mode, implicit $exec
; GFX9-NEXT: $vgpr3 = V_MAC_F32_e32 0, $vgpr4, $vgpr3, implicit $mode, implicit $exec
; GFX9-NEXT: S_ENDPGM 0
+ ;
; GFX10-LABEL: name: max-counter-vmcnt
; GFX10: liveins: $sgpr0_sgpr1_sgpr2_sgpr3, $sgpr4
; GFX10-NEXT: {{ $}}
@@ -296,6 +299,7 @@ body: |
; GFX10-NEXT: $vgpr2 = V_MAC_F32_e32 0, $vgpr3, $vgpr2, implicit $mode, implicit $exec
; GFX10-NEXT: $vgpr3 = V_MAC_F32_e32 0, $vgpr4, $vgpr3, implicit $mode, implicit $exec
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: max-counter-vmcnt
; GFX11: liveins: $sgpr0_sgpr1_sgpr2_sgpr3, $sgpr4
; GFX11-NEXT: {{ $}}
@@ -468,6 +472,7 @@ body: |
; GFX9-NEXT: EXP 0, $vgpr1, $vgpr1, $vgpr1, $vgpr1, -1, -1, 15, implicit $exec
; GFX9-NEXT: $vgpr0 = V_MAC_F32_e32 0, $vgpr1, $vgpr0, implicit $mode, implicit $exec
; GFX9-NEXT: S_ENDPGM 0
+ ;
; GFX10-LABEL: name: max-counter-expcnt
; GFX10: liveins: $sgpr0_sgpr1_sgpr2_sgpr3, $sgpr4, $vgpr0, $vgpr1
; GFX10-NEXT: {{ $}}
@@ -482,6 +487,7 @@ body: |
; GFX10-NEXT: EXP 0, $vgpr1, $vgpr1, $vgpr1, $vgpr1, -1, -1, 15, implicit $exec
; GFX10-NEXT: $vgpr0 = V_MAC_F32_e32 0, $vgpr1, $vgpr0, implicit $mode, implicit $exec
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: max-counter-expcnt
; GFX11: liveins: $sgpr0_sgpr1_sgpr2_sgpr3, $sgpr4, $vgpr0, $vgpr1
; GFX11-NEXT: {{ $}}
diff --git a/llvm/test/CodeGen/AMDGPU/waitcnt-preexisting-vscnt.mir b/llvm/test/CodeGen/AMDGPU/waitcnt-preexisting-vscnt.mir
index 33c09167ef946..4be3996587321 100644
--- a/llvm/test/CodeGen/AMDGPU/waitcnt-preexisting-vscnt.mir
+++ b/llvm/test/CodeGen/AMDGPU/waitcnt-preexisting-vscnt.mir
@@ -19,6 +19,7 @@ body: |
; GFX10-NEXT: S_WAITCNT 112
; GFX10-NEXT: FLAT_STORE_DWORD $vgpr0_vgpr1, $vgpr0, 0, 0, implicit $exec, implicit $flat_scr
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: test_waitcnt_preexisting_vscnt_unmodified
; GFX11: liveins: $vgpr0_vgpr1, $vgpr2
; GFX11-NEXT: {{ $}}
@@ -55,6 +56,7 @@ body: |
; GFX10-NEXT: S_WAITCNT 112
; GFX10-NEXT: FLAT_STORE_DWORD $vgpr0_vgpr1, $vgpr0, 0, 0, implicit $exec, implicit $flat_scr
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: test_waitcnt_preexisting_vscnt_needs_vscnt
; GFX11: liveins: $vgpr0_vgpr1, $vgpr2
; GFX11-NEXT: {{ $}}
@@ -92,6 +94,7 @@ body: |
; GFX10-NEXT: S_WAITCNT 112
; GFX10-NEXT: FLAT_STORE_DWORD $vgpr0_vgpr1, $vgpr0, 0, 0, implicit $exec, implicit $flat_scr
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: test_waitcnt_preexisting_vscnt_with_other_waitcnt
; GFX11: liveins: $vgpr0_vgpr1, $vgpr2
; GFX11-NEXT: {{ $}}
@@ -130,6 +133,7 @@ body: |
; GFX10-NEXT: S_WAITCNT 112
; GFX10-NEXT: FLAT_STORE_DWORD $vgpr0_vgpr1, $vgpr0, 0, 0, implicit $exec, implicit $flat_scr
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: test_waitcnt_preexisting_vscnt_combined
; GFX11: liveins: $vgpr0_vgpr1, $vgpr2
; GFX11-NEXT: {{ $}}
@@ -169,6 +173,7 @@ body: |
; GFX10-NEXT: S_WAITCNT 112
; GFX10-NEXT: FLAT_STORE_DWORD $vgpr0_vgpr1, $vgpr0, 0, 0, implicit $exec, implicit $flat_scr
; GFX10-NEXT: S_ENDPGM 0
+ ;
; GFX11-LABEL: name: test_waitcnt_preexisting_vscnt_combined_both_types
; GFX11: liveins: $vgpr0_vgpr1, $vgpr2
; GFX11-NEXT: {{ $}}
More information about the llvm-commits
mailing list