From: Simon Pilgrim Date: Fri, 8 Dec 2017 20:42:35 +0000 (+0000) Subject: [X86] CMOV pseudo instructions shouldn't need scheduling info as they should be lower... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79dda1dc3a2d074a22687d83abd317991ca77b68;p=llvm [X86] CMOV pseudo instructions shouldn't need scheduling info as they should be lowered early git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320193 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrCompiler.td b/lib/Target/X86/X86InstrCompiler.td index 171d6ba7f51..a897cef774f 100644 --- a/lib/Target/X86/X86InstrCompiler.td +++ b/lib/Target/X86/X86InstrCompiler.td @@ -540,7 +540,7 @@ multiclass CMOVrr_PSEUDO { EFLAGS)))]>; } -let usesCustomInserter = 1, Uses = [EFLAGS] in { +let usesCustomInserter = 1, hasNoSchedulingInfo = 1, Uses = [EFLAGS] in { // X86 doesn't have 8-bit conditional moves. Use a customInserter to // emit control flow. An alternative to this is to mark i8 SELECT as Promote, // however that requires promoting the operands, and can induce additional @@ -578,7 +578,7 @@ let usesCustomInserter = 1, Uses = [EFLAGS] in { defm _V16I1 : CMOVrr_PSEUDO; defm _V32I1 : CMOVrr_PSEUDO; defm _V64I1 : CMOVrr_PSEUDO; -} // usesCustomInserter = 1, Uses = [EFLAGS] +} // usesCustomInserter = 1, hasNoSchedulingInfo = 1, Uses = [EFLAGS] //===----------------------------------------------------------------------===// // Normal-Instructions-With-Lock-Prefix Pseudo Instructions