We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c2dcf commit 4773e89Copy full SHA for 4773e89
lib/IRGen/IRGen.cpp
@@ -632,8 +632,10 @@ void swift::irgen::deleteIRGenModule(
632
static void runIRGenPreparePasses(SILModule &Module,
633
irgen::IRGenModule &IRModule) {
634
SILPassManager PM(&Module, &IRModule);
635
- PM.registerIRGenPass(swift::PassKind::AllocStackHoisting,
636
- createAllocStackHoisting());
+#define PASS(ID, Name, Description)
+#define IRGEN_PASS(ID, Name, Description) \
637
+ PM.registerIRGenPass(swift::PassKind::ID, irgen::create##ID());
638
+#include "swift/SILOptimizer/PassManager/Passes.def"
639
PM.executePassPipelinePlan(
640
SILPassPipelinePlan::getIRGenPreparePassPipeline());
641
}
0 commit comments