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(); }