[llvm] AMDGPU: Pre-commit a test (PR #166414)
Nicolai Hähnle via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 10:59:18 PST 2025
https://github.com/nhaehnle created https://github.com/llvm/llvm-project/pull/166414
**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](https://github.com/ejoffe/spr). Merging this PR using the GitHub UI may have unexpected results.*
>From 19ffaeace9203e892fb8ca286854d5e6d58178e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= <nicolai.haehnle at amd.com>
Date: Tue, 4 Nov 2025 10:49:43 -0800
Subject: [PATCH] AMDGPU: Pre-commit a test
commit-id:0d3172e0
---
llvm/test/CodeGen/AMDGPU/finalizebundle.mir | 13 +++++++++++++
1 file changed, 13 insertions(+)
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
+...
More information about the llvm-commits
mailing list