[llvm] [CodeGen] Let `PassBuilder` support machine passes (PR #76320)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 14:00:12 PST 2024


================
@@ -73,6 +73,7 @@
 #include "llvm/Analysis/TypeBasedAliasAnalysis.h"
 #include "llvm/Analysis/UniformityAnalysis.h"
 #include "llvm/CodeGen/CallBrPrepare.h"
+#include "llvm/CodeGen/CodeGenPassBuilder.h"
----------------
aeubanks wrote:

oh man I don't think having those `DUMMY_*_PASS` was a great idea. we should just add passes to the pipeline as we port them. we really shouldn't have to include `CodeGenPassBuilder.h`

can you just not `#define DUMMY_*_PASS` below?

https://github.com/llvm/llvm-project/pull/76320


More information about the llvm-commits mailing list