@@ -1131,11 +1131,12 @@ PassBuilder::buildModuleSimplificationPipeline(OptimizationLevel Level,
1131
1131
// and prior to optimizing globals.
1132
1132
// FIXME: This position in the pipeline hasn't been carefully considered in
1133
1133
// years, it should be re-analyzed.
1134
- MPM.addPass (IPSCCPPass (
1135
- IPSCCPOptions (/* AllowFuncSpec=*/
1136
- Level != OptimizationLevel::Os &&
1137
- Level != OptimizationLevel::Oz &&
1138
- !isLTOPreLink (Phase))));
1134
+ // mono: FIXME: disabled for now, we need to fix mono EH frame generation first
1135
+ // MPM.addPass(IPSCCPPass(
1136
+ // IPSCCPOptions(/*AllowFuncSpec=*/
1137
+ // Level != OptimizationLevel::Os &&
1138
+ // Level != OptimizationLevel::Oz &&
1139
+ // !isLTOPreLink(Phase))));
1139
1140
1140
1141
// Attach metadata to indirect call sites indicating the set of functions
1141
1142
// they may target at run-time. This should follow IPSCCP.
@@ -1805,9 +1806,11 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
1805
1806
// Propagate constants at call sites into the functions they call. This
1806
1807
// opens opportunities for globalopt (and inlining) by substituting function
1807
1808
// pointers passed as arguments to direct uses of functions.
1808
- MPM.addPass (IPSCCPPass (IPSCCPOptions (/* AllowFuncSpec=*/
1809
- Level != OptimizationLevel::Os &&
1810
- Level != OptimizationLevel::Oz)));
1809
+
1810
+ // mono: FIXME: disabled for now, we need to fix mono EH frame generation first
1811
+ // MPM.addPass(IPSCCPPass(IPSCCPOptions(/*AllowFuncSpec=*/
1812
+ // Level != OptimizationLevel::Os &&
1813
+ // Level != OptimizationLevel::Oz)));
1811
1814
1812
1815
// Attach metadata to indirect call sites indicating the set of functions
1813
1816
// they may target at run-time. This should follow IPSCCP.
0 commit comments