Skip to content

Commit 8c71792

Browse files
committed
[X86] Remove copy + paste typos in AtomWriteResPair comment.
Remnants from when the Atom model was copied from the Btver2 model.....
1 parent 722c39f commit 8c71792

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

llvm/lib/Target/X86/X86ScheduleAtom.td

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ def : ReadAdvance<ReadAfterVecYLd, 3>;
4848

4949
def : ReadAdvance<ReadInt2Fpu, 0>;
5050

51-
// Many SchedWrites are defined in pairs with and without a folded load.
52-
// Instructions with folded loads are usually micro-fused, so they only appear
53-
// as two micro-ops when dispatched by the schedulers.
5451
// This multiclass defines the resource usage for variants with and without
5552
// folded loads.
5653
multiclass AtomWriteResPair<X86FoldableSchedWrite SchedRW,
@@ -59,14 +56,13 @@ multiclass AtomWriteResPair<X86FoldableSchedWrite SchedRW,
5956
int RRLat = 1, int RMLat = 1,
6057
list<int> RRRes = [1],
6158
list<int> RMRes = [1]> {
62-
// Register variant is using a single cycle on ExePort.
59+
// Register variant.
6360
def : WriteRes<SchedRW, RRPorts> {
6461
let Latency = RRLat;
6562
let ResourceCycles = RRRes;
6663
}
6764

68-
// Memory variant also uses a cycle on JLAGU and adds 3 cycles to the
69-
// latency.
65+
// Memory variant.
7066
def : WriteRes<SchedRW.Folded, RMPorts> {
7167
let Latency = RMLat;
7268
let ResourceCycles = RMRes;

0 commit comments

Comments
 (0)