summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit73dbe863002a5ca05f2fd1ed6163b010a885e637 (patch)
tree3917c8d5dd617cf33ee71a96eabe325798b4a18f /llvm/tools/llvm-mca
parentf6c0b41fb7199c445e8168ec094e623da7a069e0 (diff)
downloadbcm5719-llvm-73dbe863002a5ca05f2fd1ed6163b010a885e637.tar.gz
bcm5719-llvm-73dbe863002a5ca05f2fd1ed6163b010a885e637.zip
[llvm-mca] Add a comment to Stage::execute and fix a spelling error. NFC.
llvm-svn: 335697
Diffstat (limited to 'llvm/tools/llvm-mca')
-rw-r--r--llvm/tools/llvm-mca/Stage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/Stage.h b/llvm/tools/llvm-mca/Stage.h
index 426c0227cb7..7e709c8ef61 100644
--- a/llvm/tools/llvm-mca/Stage.h
+++ b/llvm/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);
};
OpenPOWER on IntegriCloud