OSDN Git Service

[llvm-mca] Add a comment to Stage::execute and fix a spelling error. NFC.
authorMatt Davis <Matthew.Davis@sony.com>
Wed, 27 Jun 2018 00:54:11 +0000 (00:54 +0000)
committerMatt Davis <Matthew.Davis@sony.com>
Wed, 27 Jun 2018 00:54:11 +0000 (00:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335697 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mca/Stage.h

index 426c022..7e709c8 100644 (file)
@@ -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);
 };