[PATCH] D35228: [TableGen] Add support for instruction clusters
Javed Absar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 01:52:12 PDT 2017
javed.absar added inline comments.
================
Comment at: llvm/include/llvm/MC/MCSchedule.h:93
bool operator==(const MCReadAdvanceEntry &Other) const {
return UseIdx == Other.UseIdx && WriteResourceID == Other.WriteResourceID
----------------
Shouldn't this function be amended as well to equate Cluster?
================
Comment at: llvm/include/llvm/Target/TargetSchedule.td:312
// SchedModel ties these resources to a processor.
-class ProcReadAdvance<int cycles, list<SchedWrite> writes = []> {
+class ProcReadAdvance<int cycles, list<SchedWrite> writes = [], bit cluster> {
int Cycles = cycles;
----------------
Perhaps the order of the parameters should be - cycles, cluster, writes = []
Repository:
rL LLVM
https://reviews.llvm.org/D35228
More information about the llvm-commits
mailing list