[llvm] r364540 - [mips] Mark pseudo select instructions by the `hasNoSchedulingInfo` tag

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 06:41:30 PDT 2019


Author: atanasyan
Date: Thu Jun 27 06:41:30 2019
New Revision: 364540

URL: http://llvm.org/viewvc/llvm-project?rev=364540&view=rev
Log:
[mips] Mark pseudo select instructions by the `hasNoSchedulingInfo` tag

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

Modified: llvm/trunk/lib/Target/Mips/MipsCondMov.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsCondMov.td?rev=364540&r1=364539&r2=364540&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsCondMov.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsCondMov.td Thu Jun 27 06:41:30 2019
@@ -263,7 +263,7 @@ let AdditionalPredicates = [NotInMicroMi
 }
 // For targets that don't have conditional-move instructions
 // we have to match SELECT nodes with pseudo instructions.
-let usesCustomInserter = 1 in {
+let usesCustomInserter = 1, hasNoSchedulingInfo = 1 in {
   class Select_Pseudo<RegisterOperand RC> :
     PseudoSE<(outs RC:$dst), (ins GPR32Opnd:$cond, RC:$T, RC:$F),
             [(set RC:$dst, (select GPR32Opnd:$cond, RC:$T, RC:$F))]>,
@@ -298,7 +298,7 @@ def PseudoSELECTFP_F_S : SelectFP_Pseudo
 def PseudoSELECTFP_F_D32 : SelectFP_Pseudo_F<AFGR64Opnd>, FGR_32;
 def PseudoSELECTFP_F_D64 : SelectFP_Pseudo_F<FGR64Opnd>, FGR_64;
 
-let usesCustomInserter = 1 in {
+let usesCustomInserter = 1, hasNoSchedulingInfo = 1 in {
 class D_SELECT_CLASS<RegisterOperand RC> :
   PseudoSE<(outs RC:$dst1, RC:$dst2),
            (ins GPR32Opnd:$cond, RC:$a1, RC:$a2, RC:$b1, RC:$b2), []>,




More information about the llvm-commits mailing list