We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EntryStage::cycleEnd
1 parent 948ed21 commit 28eef3bCopy full SHA for 28eef3b
llvm/lib/MCA/Stages/EntryStage.cpp
@@ -67,7 +67,8 @@ llvm::Error EntryStage::cycleResume() {
67
68
llvm::Error EntryStage::cycleEnd() {
69
// Find the first instruction which hasn't been retired.
70
- auto Range = make_range(&Instructions[NumRetired], Instructions.end());
+ auto Range =
71
+ make_range(Instructions.begin() + NumRetired, Instructions.end());
72
auto It = find_if(Range, [](const std::unique_ptr<Instruction> &I) {
73
return !I->isRetired();
74
});
0 commit comments