Skip to content

Commit 0b1c25c

Browse files
authored
[AMDGPU] Fix Ins64 clamp in the VOPProfile. NFC. (llvm#81925)
For some reason only IntClamp was added to the Ins64, but not FPClamp. As is this is NFC, but fails to produce proper dag downstream.
1 parent 17040ba commit 0b1c25c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,7 @@ class VOPProfile <list<ValueType> _ArgVT, bit _EnableClamp = 0> {
23432343

23442344
field dag Ins32 = getIns32<Src0RC32, Src1RC32, NumSrcArgs>.ret;
23452345
field dag Ins64 = getIns64<Src0RC64, Src1RC64, Src2RC64, NumSrcArgs,
2346-
HasIntClamp, HasModifiers, HasSrc2Mods,
2346+
HasClamp, HasModifiers, HasSrc2Mods,
23472347
HasOMod, Src0Mod, Src1Mod, Src2Mod>.ret;
23482348
field dag InsVOP3P = getInsVOP3P<Src0RC64, Src1RC64, Src2RC64,
23492349
NumSrcArgs, HasClamp, HasOpSel,

0 commit comments

Comments
 (0)