[llvm] AMDGPU/GlobalISel: Fix tablegen definition for G_AMDGPU_LOAD_D16 (PR #158039)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 11 04:01:51 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Petar Avramovic (petar-avramovic)
<details>
<summary>Changes</summary>
Second source operand was missing.
---
Full diff: https://github.com/llvm/llvm-project/pull/158039.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/SIInstructions.td (+1-1)
``````````diff
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;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/158039
More information about the llvm-commits
mailing list