summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/Scheduler.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-25 09:38:58 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-25 09:38:58 +0000
commitdb66efcb6a48d1b10085f3ba2e7e8661b79b4edb (patch)
treed770586ce56b31b6de1cc01e85742513d82e2719 /llvm/tools/llvm-mca/Scheduler.cpp
parent1da30c659dc1631862536af35fe63acf289c4650 (diff)
downloadbcm5719-llvm-db66efcb6a48d1b10085f3ba2e7e8661b79b4edb.tar.gz
bcm5719-llvm-db66efcb6a48d1b10085f3ba2e7e8661b79b4edb.zip
[llvm-mca] Remove method Instruction::isZeroLatency(). NFCI
llvm-svn: 330807
Diffstat (limited to 'llvm/tools/llvm-mca/Scheduler.cpp')
-rw-r--r--llvm/tools/llvm-mca/Scheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/Scheduler.cpp b/llvm/tools/llvm-mca/Scheduler.cpp
index d27c22540fb..77c6745684a 100644
--- a/llvm/tools/llvm-mca/Scheduler.cpp
+++ b/llvm/tools/llvm-mca/Scheduler.cpp
@@ -263,7 +263,7 @@ void Scheduler::scheduleInstruction(unsigned Idx, Instruction &MCIS) {
// issued immediately to the pipeline(s). Any other in-order buffered
// resources (i.e. BufferSize=1) is consumed.
- if (!MCIS.isZeroLatency() && !Resources->mustIssueImmediately(Desc)) {
+ if (Desc.MaxLatency && !Resources->mustIssueImmediately(Desc)) {
DEBUG(dbgs() << "[SCHEDULER] Adding " << Idx << " to the Ready Queue\n");
ReadyQueue[Idx] = &MCIS;
return;
OpenPOWER on IntegriCloud