[llvm] [CodeGen] Support start/stop in CodeGenPassBuilder (PR #70912)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 14:07:44 PST 2024
================
@@ -123,6 +124,13 @@ namespace llvm {
/// all of the built-in passes, and those may reference these members during
/// construction.
template <typename DerivedT> class CodeGenPassBuilder {
+ bool runBeforeAdding(StringRef Name) const {
----------------
aeubanks wrote:
can you move this definition somewhere else in the class? it doesn't belong right at the top
https://github.com/llvm/llvm-project/pull/70912
More information about the llvm-commits
mailing list