[llvm] c52cb96 - AMDGPU/GlobalISel: Fix tablegen definition for G_AMDGPU_LOAD_D16 (#158039)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 04:41:02 PDT 2025
Author: Petar Avramovic
Date: 2025-09-11T13:40:58+02:00
New Revision: c52cb96324871c99644304d423f3912539182456
URL: https://github.com/llvm/llvm-project/commit/c52cb96324871c99644304d423f3912539182456
DIFF: https://github.com/llvm/llvm-project/commit/c52cb96324871c99644304d423f3912539182456.diff
LOG: AMDGPU/GlobalISel: Fix tablegen definition for G_AMDGPU_LOAD_D16 (#158039)
Second source operand was missing.
Added:
Modified:
llvm/lib/Target/AMDGPU/SIInstructions.td
Removed:
################################################################################
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