diff options
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIInstrFormats.td')
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIInstrFormats.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstrFormats.td b/llvm/lib/Target/AMDGPU/SIInstrFormats.td index 1b66d163714f..ab536f8f49d5 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrFormats.td +++ b/llvm/lib/Target/AMDGPU/SIInstrFormats.td @@ -161,6 +161,9 @@ class InstSI <dag outs, dag ins, string asm = "", // ds_gws_* instructions. field bit GWS = 0; + // This bit indicates that this is one of SWMMAC instructions. + field bit IsSWMMAC = 0; + // These need to be kept in sync with the enum in SIInstrFlags. let TSFlags{0} = SALU; let TSFlags{1} = VALU; @@ -248,6 +251,8 @@ class InstSI <dag outs, dag ins, string asm = "", let TSFlags{62} = GWS; + let TSFlags{63} = IsSWMMAC; + let SchedRW = [Write32Bit]; let AsmVariantName = AMDGPUAsmVariants.Default; |