]> granicus.if.org Git - llvm/commitdiff
[mips] Set the hasNoSchedulingInfo flag for the `MipsAsmPseudoInst`
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 18 Jun 2019 16:59:47 +0000 (16:59 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 18 Jun 2019 16:59:47 +0000 (16:59 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363701 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsInstrFormats.td

index 39e7e5b4eeb140ac6dfffa0ade9784163891db8c..14f01514f33fbcc20c2d81e4025d49033898cfbe 100644 (file)
@@ -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 = [];
 }
 //===----------------------------------------------------------------------===//