From 7cda6b5087c5277ead9f627d54d2217a82e8ce87 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Thu, 7 Dec 2017 14:07:18 +0000 Subject: [PATCH] [X86][X87] X87 math binop pseudo instructions don't need scheduling info git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320044 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrFPStack.td | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Target/X86/X86InstrFPStack.td b/lib/Target/X86/X86InstrFPStack.td index 6788ba50c96..cfc38f0f005 100644 --- a/lib/Target/X86/X86InstrFPStack.td +++ b/lib/Target/X86/X86InstrFPStack.td @@ -237,19 +237,24 @@ def _FI32m : FPI<0xDA, fp, (outs), (ins i32mem:$src), let Defs = [FPSW] in { // FPBinary_rr just defines pseudo-instructions, no need to set a scheduling // resources. +let hasNoSchedulingInfo = 1 in { defm ADD : FPBinary_rr; defm SUB : FPBinary_rr; defm MUL : FPBinary_rr; defm DIV : FPBinary_rr; +} + // Sets the scheduling resources for the actual NAME#_Fm defintions. let SchedRW = [WriteFAddLd] in { defm ADD : FPBinary; defm SUB : FPBinary; defm SUBR: FPBinary; } + let SchedRW = [WriteFMulLd] in { defm MUL : FPBinary; } + let SchedRW = [WriteFDivLd] in { defm DIV : FPBinary; defm DIVR: FPBinary; -- 2.50.1