diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-12-08 20:42:35 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2017-12-08 20:42:35 +0000 |
| commit | 5f7fcb2ea9e10c28aaafad295413e36753841389 (patch) | |
| tree | 10f6662137cff3d3b5257dc25f060a2e737fdfeb /llvm | |
| parent | f621dcf8d7f9468647e8f04726dbf00ebc7b2034 (diff) | |
| download | bcm5719-llvm-5f7fcb2ea9e10c28aaafad295413e36753841389.tar.gz bcm5719-llvm-5f7fcb2ea9e10c28aaafad295413e36753841389.zip | |
[X86] CMOV pseudo instructions shouldn't need scheduling info as they should be lowered early
llvm-svn: 320193
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrCompiler.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrCompiler.td b/llvm/lib/Target/X86/X86InstrCompiler.td index 171d6ba7f51..a897cef774f 100644 --- a/llvm/lib/Target/X86/X86InstrCompiler.td +++ b/llvm/lib/Target/X86/X86InstrCompiler.td @@ -540,7 +540,7 @@ multiclass CMOVrr_PSEUDO<RegisterClass RC, ValueType VT> { 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<VK16, v16i1>; defm _V32I1 : CMOVrr_PSEUDO<VK32, v32i1>; defm _V64I1 : CMOVrr_PSEUDO<VK64, v64i1>; -} // usesCustomInserter = 1, Uses = [EFLAGS] +} // usesCustomInserter = 1, hasNoSchedulingInfo = 1, Uses = [EFLAGS] //===----------------------------------------------------------------------===// // Normal-Instructions-With-Lock-Prefix Pseudo Instructions |

