summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/InstructionTables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/InstructionTables.cpp')
-rw-r--r--llvm/tools/llvm-mca/InstructionTables.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/InstructionTables.cpp b/llvm/tools/llvm-mca/InstructionTables.cpp
index 9b9dbc37fbd..c786cfb63f4 100644
--- a/llvm/tools/llvm-mca/InstructionTables.cpp
+++ b/llvm/tools/llvm-mca/InstructionTables.cpp
@@ -21,7 +21,7 @@ namespace mca {
using namespace llvm;
-bool InstructionTables::execute(InstRef &IR) {
+Stage::Status InstructionTables::execute(InstRef &IR) {
ArrayRef<uint64_t> Masks = IB.getProcResourceMasks();
const InstrDesc &Desc = IR.getInstruction()->getDesc();
UsedResources.clear();
@@ -64,7 +64,7 @@ bool InstructionTables::execute(InstRef &IR) {
// Send a fake instruction issued event to all the views.
HWInstructionIssuedEvent Event(IR, UsedResources);
notifyEvent<HWInstructionIssuedEvent>(Event);
- return true;
+ return Stage::Continue;
}
} // namespace mca
OpenPOWER on IntegriCloud