Skip to content

Commit c52cb96

Browse files
AMDGPU/GlobalISel: Fix tablegen definition for G_AMDGPU_LOAD_D16 (#158039)
Second source operand was missing.
1 parent 9b00a58 commit c52cb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4404,7 +4404,7 @@ def G_AMDGPU_TBUFFER_LOAD_FORMAT_D16 : TBufferLoadGenericInstruction;
44044404

44054405
class D16LoadGenericInstruction : AMDGPUGenericInstruction {
44064406
let OutOperandList = (outs type0:$dst);
4407-
let InOperandList = (ins ptype1:$addr);
4407+
let InOperandList = (ins ptype1:$addr, type0:$src);
44084408
let hasSideEffects = 0;
44094409
let mayLoad = 1;
44104410
}

0 commit comments

Comments
 (0)