Skip to content

Commit e5b0c21

Browse files
authored
[AMDGPU] Add IsSingle to a few Interp instructions (llvm#95984)
A _e64 suffix should not be printed since these instructions only have one legal encoding length. The absence of the IsSingle flag is hidden by how the string is printed. We could fix it for GFX10 as well, but we shouldn't change the asm output to omit _e64 at this point. NFC.
1 parent 84c60bb commit e5b0c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/VOP3Instructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class getInterp16Ins <bit HasSrc2, bit HasOMod,
107107
}
108108

109109
class VOP3_INTERP16 <list<ValueType> ArgVT> : VOPProfile<ArgVT> {
110-
110+
let IsSingle = 1;
111111
let HasOMod = !ne(DstVT.Value, f16.Value);
112112
let HasHigh = 1;
113113

0 commit comments

Comments
 (0)