[llvm-mca] Add a comment to Stage::execute and fix a spelling error. NFC.

llvm-svn: 335697
This commit is contained in:
Matt Davis 2018-06-27 00:54:11 +00:00
parent f6c0b41fb7
commit 73dbe86300
1 changed files with 3 additions and 1 deletions

View 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);
};