diff options
-rw-r--r-- | polly/lib/Support/RegisterPasses.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/Support/RegisterPasses.cpp b/polly/lib/Support/RegisterPasses.cpp index e21789b..ca3ffd5 100644 --- a/polly/lib/Support/RegisterPasses.cpp +++ b/polly/lib/Support/RegisterPasses.cpp @@ -533,8 +533,7 @@ static void buildCommonPollyPipeline(FunctionPassManager &PM, SPM.addPass(DeadCodeElimPass()); if (FullyIndexedStaticExpansion) - llvm::report_fatal_error("Option -polly-enable-mse not supported with NPM", - false); + SPM.addPass(MaximalStaticExpansionPass()); if (EnablePruneUnprofitable) SPM.addPass(PruneUnprofitablePass()); |