[llvm] r331198 - [X86][Atom] Remove unnecessary x87 load/move instrw overrides.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 09:51:13 PDT 2018


Author: rksimon
Date: Mon Apr 30 09:51:13 2018
New Revision: 331198

URL: http://llvm.org/viewvc/llvm-project?rev=331198&view=rev
Log:
[X86][Atom] Remove unnecessary x87 load/move instrw overrides.

Modified:
    llvm/trunk/lib/Target/X86/X86ScheduleAtom.td

Modified: llvm/trunk/lib/Target/X86/X86ScheduleAtom.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ScheduleAtom.td?rev=331198&r1=331197&r2=331198&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ScheduleAtom.td (original)
+++ llvm/trunk/lib/Target/X86/X86ScheduleAtom.td Mon Apr 30 09:51:13 2018
@@ -322,7 +322,7 @@ def AtomWrite0_1 : SchedWriteRes<[AtomPo
   let Latency = 1;
   let ResourceCycles = [1];
 }
-def : InstRW<[AtomWrite0_1], (instrs FXAM,
+def : InstRW<[AtomWrite0_1], (instrs FXAM, LD_Frr,
                                      BSWAP32r, BSWAP64r,
                                      DEC8m, DEC16m, DEC32m, DEC64m,
                                      INC8m, INC16m, INC32m, INC64m,
@@ -336,8 +336,7 @@ def : InstRW<[AtomWrite0_1], (instrs FXA
                                      MOV64toSDrr)>;
 def : InstRW<[AtomWrite0_1], (instregex "(ADC|ADD|AND|NEG|NOT|OR|SBB|SUB|XOR)(8|16|32|64)m",
                                         "(RCL|RCR|ROL|ROR|SAR|SHL|SHR)(8|16|32|64)m",
-                                        "MOV(S|Z)X(32|64)rr(8|8_NOREX|16)",
-                                        "LD_F(P)?(16|32|64)?(m|rr)")>;
+                                        "MOV(S|Z)X(32|64)rr(8|8_NOREX|16)")>;
 
 def AtomWrite0_3 : SchedWriteRes<[AtomPort0]> {
   let Latency = 3;




More information about the llvm-commits mailing list