Skip to content

Commit 480f358

Browse files
committed
AMDGPU: Support intrinsic selection for gfx1250 wmma instructions
Fix a format error and remove a useless Predicate
1 parent 6193083 commit 480f358

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class AMDGPUInstructionSelector final : public InstructionSelector {
221221
selectSWMMACIndex8(MachineOperand &Root) const;
222222
InstructionSelector::ComplexRendererFns
223223
selectSWMMACIndex16(MachineOperand &Root) const;
224-
InstructionSelector::ComplexRendererFns
224+
InstructionSelector::ComplexRendererFns
225225
selectSWMMACIndex32(MachineOperand &Root) const;
226226

227227
InstructionSelector::ComplexRendererFns

llvm/lib/Target/AMDGPU/VOP3PInstructions.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1265,7 +1265,7 @@ multiclass WMMAInst<string Suffix, string Instr, VOPProfile P, SDPatternOperator
12651265
defvar WMMAConstraints3Addr = "@earlyclobber $vdst";
12661266

12671267
defvar WMMAProfile = VOPProfileWMMA<P, Suffix, _Src01RC64, Type.hasClamp, Type.hasOpsel>;
1268-
let Mnemonic = Instr, mayRaiseFPException = 0, ReadsModeReg = 0, SubtargetPredicate = HasWMMA128bInsts in {
1268+
let Mnemonic = Instr, mayRaiseFPException = 0, ReadsModeReg = 0 in {
12691269
let Constraints = WMMAConstraints2Addr, isConvertibleToThreeAddress = convertibleTo3Addr in {
12701270
def _twoaddr # Suffix : VOP3P_Pseudo<Instr # Suffix, WMMAProfile>;
12711271
}

0 commit comments

Comments
 (0)