[llvm] 4d98eb2 - [X86] Remove unnecessary INTO overrides from znver1/znver2 model
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 1 04:30:58 PST 2022
Author: Simon Pilgrim
Date: 2022-12-01T12:30:40Z
New Revision: 4d98eb21965bae920093d969ed55e61a49e9994b
URL: https://github.com/llvm/llvm-project/commit/4d98eb21965bae920093d969ed55e61a49e9994b
DIFF: https://github.com/llvm/llvm-project/commit/4d98eb21965bae920093d969ed55e61a49e9994b.diff
LOG: [X86] Remove unnecessary INTO overrides from znver1/znver2 model
Reported by D138359 - the overrides matched the base class schedule definition (its been flagged as WriteMicrocoded instead of WriteSystem but the models define both the same)
Added:
Modified:
llvm/lib/Target/X86/X86ScheduleZnver1.td
llvm/lib/Target/X86/X86ScheduleZnver2.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86ScheduleZnver1.td b/llvm/lib/Target/X86/X86ScheduleZnver1.td
index a37065ef3602..1ad74f43e07a 100644
--- a/llvm/lib/Target/X86/X86ScheduleZnver1.td
+++ b/llvm/lib/Target/X86/X86ScheduleZnver1.td
@@ -655,9 +655,6 @@ defm : ZnWriteResPair<WriteMULX64, [ZnALU1, ZnMultiplier], 3, [1, 1], 1, 5, 0>;
def ZnWriteJCXZ : SchedWriteRes<[ZnALU03]>;
def : InstRW<[ZnWriteJCXZ], (instrs JCXZ, JECXZ, JRCXZ)>;
-// INTO
-def : InstRW<[WriteMicrocoded], (instrs INTO)>;
-
// LOOP.
def ZnWriteLOOP : SchedWriteRes<[ZnALU03]>;
def : InstRW<[ZnWriteLOOP], (instrs LOOP)>;
diff --git a/llvm/lib/Target/X86/X86ScheduleZnver2.td b/llvm/lib/Target/X86/X86ScheduleZnver2.td
index 1b69bc9c5594..6cb81dc684fa 100644
--- a/llvm/lib/Target/X86/X86ScheduleZnver2.td
+++ b/llvm/lib/Target/X86/X86ScheduleZnver2.td
@@ -665,9 +665,6 @@ defm : Zn2WriteResPair<WriteMULX64, [Zn2ALU1, Zn2Multiplier], 3, [1, 1], 1, 4, 0
def Zn2WriteJCXZ : SchedWriteRes<[Zn2ALU03]>;
def : InstRW<[Zn2WriteJCXZ], (instrs JCXZ, JECXZ, JRCXZ)>;
-// INTO
-def : InstRW<[WriteMicrocoded], (instrs INTO)>;
-
// LOOP.
def Zn2WriteLOOP : SchedWriteRes<[Zn2ALU03]>;
def : InstRW<[Zn2WriteLOOP], (instrs LOOP)>;
More information about the llvm-commits
mailing list