[PATCH] D52642: [MCA] Remove SM.hasNext() call in FetchStage::execute.

Owen Rodley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 1 17:41:50 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL343555: [MCA] Remove SM.hasNext() call in FetchStage::execute. (authored by orodley, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D52642?vs=167432&id=167867#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D52642

Files:
  llvm/trunk/tools/llvm-mca/lib/Stages/FetchStage.cpp


Index: llvm/trunk/tools/llvm-mca/lib/Stages/FetchStage.cpp
===================================================================
--- llvm/trunk/tools/llvm-mca/lib/Stages/FetchStage.cpp
+++ llvm/trunk/tools/llvm-mca/lib/Stages/FetchStage.cpp
@@ -60,7 +60,7 @@
 }
 
 llvm::Error FetchStage::cycleStart() {
-  if (!CurrentInstruction && SM.hasNext())
+  if (!CurrentInstruction)
     return getNextInstruction();
   return llvm::ErrorSuccess();
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52642.167867.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181002/44b19062/attachment.bin>


More information about the llvm-commits mailing list