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 8976333412b..9dfe06fbb8e 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrFormats.td +++ b/llvm/lib/Target/AMDGPU/SIInstrFormats.td @@ -65,6 +65,10 @@ class InstSI <dag outs, dag ins, string asm = "", // SMEM instructions like the cache flush ones. field bits<1> ScalarStore = 0; + // Whether the operands can be ignored when computing the + // instruction size. + field bits<1> FixedSize = 0; + // These need to be kept in sync with the enum in SIInstrFlags. let TSFlags{0} = VM_CNT; let TSFlags{1} = EXP_CNT; @@ -100,6 +104,7 @@ class InstSI <dag outs, dag ins, string asm = "", let TSFlags{27} = DisableWQM; let TSFlags{28} = SOPKZext; let TSFlags{29} = ScalarStore; + let TSFlags{30} = FixedSize; let SchedRW = [Write32Bit]; |