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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 21:40:38 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"
----------------
paperchalice wrote:

All dummy passes (DUMMY_*_PASS in MachinePassRegistry.def) are declared in this header.

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


More information about the llvm-commits mailing list