[llvm] r363701 - [mips] Set the hasNoSchedulingInfo flag for the `MipsAsmPseudoInst`

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 09:59:48 PDT 2019


Author: atanasyan
Date: Tue Jun 18 09:59:47 2019
New Revision: 363701

URL: http://llvm.org/viewvc/llvm-project?rev=363701&view=rev
Log:
[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

Modified:
    llvm/trunk/lib/Target/Mips/MipsInstrFormats.td

Modified: llvm/trunk/lib/Target/Mips/MipsInstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsInstrFormats.td?rev=363701&r1=363700&r2=363701&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsInstrFormats.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsInstrFormats.td Tue Jun 18 09:59:47 2019
@@ -145,6 +145,7 @@ class PseudoSE<dag outs, dag ins, list<d
 class MipsAsmPseudoInst<dag outs, dag ins, string asmstr>:
   MipsInst<outs, ins, asmstr, [], IIPseudo, Pseudo> {
   let isPseudo = 1;
+  let hasNoSchedulingInfo = 1;
   let Pattern = [];
 }
 //===----------------------------------------------------------------------===//




More information about the llvm-commits mailing list