summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2024-07-15 09:59:07 +0400
committerMatt Arsenault <arsenm2@gmail.com>2024-07-15 11:51:44 +0400
commitb1bcb7ca460fcd317bbc8309e14c8761bf8394e0 (patch)
treecf2636217534435b2de9783a7cf8e9325819e658 /llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
parent71051deff27928cff908ea794e09806eee662801 (diff)
Reapply "AMDGPU: Move attributor into optimization pipeline (#83131)" and follow up commit "clang/AMDGPU: Defeat attribute optimization in attribute test" (#98851)
This reverts commit adaff46d087799072438dd744b038e6fd50a2d78. Drop the -O3 checks from default-attributes.hip. I don't know why they are different on some bots but reverting this is far too disruptive.
Diffstat (limited to 'llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll')
-rw-r--r--llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll12
1 files changed, 9 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll b/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
index 8326d95e0e7f..b3ed7376a1ed 100644
--- a/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
+++ b/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll
@@ -27,10 +27,16 @@
; CHECK-NEXT: returnsVoid: true
; CHECK-NEXT: argumentInfo:
; CHECK-NEXT: privateSegmentBuffer: { reg: '$sgpr0_sgpr1_sgpr2_sgpr3' }
-; CHECK-NEXT: kernargSegmentPtr: { reg: '$sgpr4_sgpr5' }
-; CHECK-NEXT: workGroupIDX: { reg: '$sgpr6' }
-; CHECK-NEXT: privateSegmentWaveByteOffset: { reg: '$sgpr7' }
+; CHECK-NEXT: dispatchPtr: { reg: '$sgpr4_sgpr5' }
+; CHECK-NEXT: kernargSegmentPtr: { reg: '$sgpr6_sgpr7' }
+; CHECK-NEXT: dispatchID: { reg: '$sgpr8_sgpr9' }
+; CHECK-NEXT: workGroupIDX: { reg: '$sgpr10' }
+; CHECK-NEXT: workGroupIDY: { reg: '$sgpr11' }
+; CHECK-NEXT: workGroupIDZ: { reg: '$sgpr12' }
+; CHECK-NEXT: privateSegmentWaveByteOffset: { reg: '$sgpr13' }
; CHECK-NEXT: workItemIDX: { reg: '$vgpr0' }
+; CHECK-NEXT: workItemIDY: { reg: '$vgpr1' }
+; CHECK-NEXT: workItemIDZ: { reg: '$vgpr2' }
; CHECK-NEXT: psInputAddr: 0
; CHECK-NEXT: psInputEnable: 0
; CHECK-NEXT: mode: