[llvm] AMDGPU/GlobalISel: Fix tablegen definition for G_AMDGPU_LOAD_D16 (PR #158039)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 04:00:33 PDT 2025
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/158039
Second source operand was missing.
>From 669b935ed91066843a3121f7ae8b1c1219acab63 Mon Sep 17 00:00:00 2001
From: Petar Avramovic <Petar.Avramovic at amd.com>
Date: Thu, 11 Sep 2025 12:58:08 +0200
Subject: [PATCH] AMDGPU/GlobalISel: Fix tablegen definition for
G_AMDGPU_LOAD_D16
Second source operand was missing.
---
llvm/lib/Target/AMDGPU/SIInstructions.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td
index 6c48b5bc966ac..5e6ddf886f504 100644
--- a/llvm/lib/Target/AMDGPU/SIInstructions.td
+++ b/llvm/lib/Target/AMDGPU/SIInstructions.td
@@ -4404,7 +4404,7 @@ def G_AMDGPU_TBUFFER_LOAD_FORMAT_D16 : TBufferLoadGenericInstruction;
class D16LoadGenericInstruction : AMDGPUGenericInstruction {
let OutOperandList = (outs type0:$dst);
- let InOperandList = (ins ptype1:$addr);
+ let InOperandList = (ins ptype1:$addr, type0:$src);
let hasSideEffects = 0;
let mayLoad = 1;
}
More information about the llvm-commits
mailing list