From f8f8ebdf9545b21815d6b9e362453f315f04526d Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Tue, 18 Jun 2019 16:59:47 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363701 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsInstrFormats.td | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/Mips/MipsInstrFormats.td b/lib/Target/Mips/MipsInstrFormats.td index 39e7e5b4eeb..14f01514f33 100644 --- a/lib/Target/Mips/MipsInstrFormats.td +++ b/lib/Target/Mips/MipsInstrFormats.td @@ -145,6 +145,7 @@ class PseudoSE pattern, class MipsAsmPseudoInst: MipsInst { let isPseudo = 1; + let hasNoSchedulingInfo = 1; let Pattern = []; } //===----------------------------------------------------------------------===// -- 2.50.1