TODO
- PrintIRInstrumentation and TimePassesHandler would be using this new callback.
- "Running pass" logging will also be moved to use this callback.
Differential D84772
[NewPM][PassInstrument] Add a new kind of before-pass callback that only get called if the pass is not skipped ychen on Jul 28 2020, 10:33 AM. Authored by
Details TODO
Diff Detail
Unit Tests
Event Timeline
Comment Actions ahh, naming is hard. I was thinking of required to run. Yes, it could also be required pass which is misleading. I'll go with BeforePassIsNotSkippedFunc which is not ambiguous. Comment Actions What about unit tests?
|
Rather than this sentence, I think there should be a comment that we call all BeforePassFuncs to determine if the pass should run or not.