[PATCH] D38176: [MiSched] : Remove double call getMicroOpFactor. NFC.
Javed Absar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 03:33:44 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL314296: [Misched]: Remove double call getMicroOpFactor.NFC. (authored by javed.absar).
Changed prior to commit:
https://reviews.llvm.org/D38176?vs=116339&id=116788#toc
Repository:
rL LLVM
https://reviews.llvm.org/D38176
Files:
llvm/trunk/lib/CodeGen/MachineScheduler.cpp
Index: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp
@@ -2363,7 +2363,7 @@
ResCount = getResourceCount(ZoneCritResIdx);
} else {
ResFactor = SchedModel->getMicroOpFactor();
- ResCount = RetiredMOps * SchedModel->getMicroOpFactor();
+ ResCount = RetiredMOps * ResFactor;
}
unsigned LFactor = SchedModel->getLatencyFactor();
dbgs() << Available.getName() << " @" << CurrCycle << "c\n"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38176.116788.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170927/46f8b8bd/attachment.bin>
More information about the llvm-commits
mailing list