diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2019-06-18 16:59:47 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2019-06-18 16:59:47 +0000 |
commit | 9086ba8763a9d066ab98a2258d34868d9dd292fb (patch) | |
tree | dacfa2ba89b6f381be2e6cde37e520b966fe0562 | |
parent | 46e6e132987504b127a9582dd2003c734fabbd5d (diff) | |
download | bcm5719-llvm-9086ba8763a9d066ab98a2258d34868d9dd292fb.tar.gz bcm5719-llvm-9086ba8763a9d066ab98a2258d34868d9dd292fb.zip |
[mips] Set the hasNoSchedulingInfo flag for the `MipsAsmPseudoInst`
Set the hasNoSchedulingInfo flag for the`MipsAsmPseudoInst`. These
pseudo-instructions are never used by codegen. This flag allows to
reduce number of "No schedule information for" and "lacks information
for" errors in case of marking a scheduler model as complete.
This patch is one of a series of patches. The goal is to make P5600
scheduler model complete and turn on the `CompleteModel` flag.
Differential Revision: https://reviews.llvm.org/D63236
llvm-svn: 363701
-rw-r--r-- | llvm/lib/Target/Mips/MipsInstrFormats.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFormats.td b/llvm/lib/Target/Mips/MipsInstrFormats.td index 39e7e5b4eeb..14f01514f33 100644 --- a/llvm/lib/Target/Mips/MipsInstrFormats.td +++ b/llvm/lib/Target/Mips/MipsInstrFormats.td @@ -145,6 +145,7 @@ class PseudoSE<dag outs, dag ins, list<dag> pattern, class MipsAsmPseudoInst<dag outs, dag ins, string asmstr>: MipsInst<outs, ins, asmstr, [], IIPseudo, Pseudo> { let isPseudo = 1; + let hasNoSchedulingInfo = 1; let Pattern = []; } //===----------------------------------------------------------------------===// |