[PATCH] D38176: [MiSched] : Remove double call getMicroOpFactor. NFC.
Javed Absar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 22 06:19:29 PDT 2017
javed.absar created this revision.
Remove unnecessary double call.
https://reviews.llvm.org/D38176
Files:
lib/CodeGen/MachineScheduler.cpp
Index: lib/CodeGen/MachineScheduler.cpp
===================================================================
--- lib/CodeGen/MachineScheduler.cpp
+++ 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.116339.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170922/ece7c7fd/attachment.bin>
More information about the llvm-commits
mailing list