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