Skip to content

Conversation

@nhaehnle
Copy link
Collaborator

@nhaehnle nhaehnle commented Nov 4, 2025

@nhaehnle
Copy link
Collaborator Author

nhaehnle commented Nov 4, 2025

(no review expected)

@llvmbot
Copy link
Member

llvmbot commented Nov 4, 2025

@llvm/pr-subscribers-backend-amdgpu

Author: Nicolai Hähnle (nhaehnle)

Changes

Stack:

  • [6/6] #166213
  • [5/6] #166212
  • [4/6] #166211
  • [3/6] #166210
  • [2/6] #166209
  • [1/6] #166414 ⬅

⚠️ Part of a stack created by spr. Merging this PR using the GitHub UI may have unexpected results.


Full diff: https://github.com/llvm/llvm-project/pull/166414.diff

1 Files Affected:

  • (modified) llvm/test/CodeGen/AMDGPU/finalizebundle.mir (+13)
diff --git a/llvm/test/CodeGen/AMDGPU/finalizebundle.mir b/llvm/test/CodeGen/AMDGPU/finalizebundle.mir
index 0548bcf304c32..d2ec1fcbac84f 100644
--- a/llvm/test/CodeGen/AMDGPU/finalizebundle.mir
+++ b/llvm/test/CodeGen/AMDGPU/finalizebundle.mir
@@ -34,3 +34,16 @@ body: |
     $vgpr0 = V_MOV_B32_e32 $vgpr1, implicit $exec
     dead $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec
 ...
+
+---
+name: test_tied
+body: |
+  bb.0:
+    ; CHECK-LABEL: name: test_tied
+    ; CHECK: BUNDLE implicit-def %0, implicit-def %2, implicit %1:vgpr_32, implicit $mode, implicit $exec {
+    ; CHECK-NEXT:   [[COPY:%[0-9]+]]:vgpr_32 = COPY %1:vgpr_32
+    ; CHECK-NEXT:   [[V_FMAC_F16_e32_:%[0-9]+]]:vgpr_32 = V_FMAC_F16_e32 internal [[COPY]], internal [[COPY]], %1:vgpr_32, implicit $mode, implicit $exec
+    ; CHECK-NEXT: }
+    %1:vgpr_32 = COPY %0:vgpr_32
+    %2:vgpr_32 = V_FMAC_F16_e32 %1, %1, %0, implicit $mode, implicit $exec
+...

@nhaehnle nhaehnle enabled auto-merge (squash) November 4, 2025 18:59
commit-id:0d3172e0
@nhaehnle nhaehnle force-pushed the users/nhaehnle/spr/main/0d3172e0 branch from 19ffaea to f866da0 Compare November 5, 2025 00:44
@nhaehnle nhaehnle merged commit 3974157 into main Nov 5, 2025
7 of 9 checks passed
@nhaehnle nhaehnle deleted the users/nhaehnle/spr/main/0d3172e0 branch November 5, 2025 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants