From 7c9f26f0094d98d6bbdff2b7ebd3d88b5323f922 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 27 Jun 2018 00:54:11 +0000 Subject: [PATCH] [llvm-mca] Add a comment to Stage::execute and fix a spelling error. NFC. llvm-svn: 335697 --- tools/llvm-mca/Stage.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/llvm-mca/Stage.h b/tools/llvm-mca/Stage.h index 426c0227cb7..7e709c8ef61 100644 --- a/tools/llvm-mca/Stage.h +++ b/tools/llvm-mca/Stage.h @@ -45,9 +45,11 @@ public: virtual void postExecute(const InstRef &IR) {} /// The primary action that this stage performs. + /// Returning false prevents successor stages from having their 'execute' + /// routine called. virtual bool execute(InstRef &IR) = 0; - /// Add a listener to receive callbaks during the execution of this stage. + /// Add a listener to receive callbacks during the execution of this stage. void addListener(HWEventListener *Listener); };