aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-mca
diff options
context:
space:
mode:
authorMatt Davis <Matthew.Davis@sony.com>2018-06-27 00:54:11 +0000
committerMatt Davis <Matthew.Davis@sony.com>2018-06-27 00:54:11 +0000
commit0f220def93e058ad74f8ec4b2b93794248377e96 (patch)
tree50c1b8da1430f48610a8e19e07409955fd751b07 /tools/llvm-mca
parentbde65c4dd971fb8c1f13a43651f2c72ddf9bebdf (diff)
[llvm-mca] Add a comment to Stage::execute and fix a spelling error. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mca')
-rw-r--r--tools/llvm-mca/Stage.h4
1 files changed, 3 insertions, 1 deletions
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);
};