Skip to content

Commit 78a88c4

Browse files
committed
Fix 'LICM requires MemorySSA' error
1 parent aceb408 commit 78a88c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

expr2/reactor/LLVMJIT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ void JITBuilder::optimize(const rr::Config &cfg)
923923
case rr::Optimization::Pass::Disabled: break;
924924
case rr::Optimization::Pass::CFGSimplification: fpm.addPass(llvm::SimplifyCFGPass()); break;
925925
case rr::Optimization::Pass::LICM: fpm.addPass(llvm::createFunctionToLoopPassAdaptor(
926-
llvm::LICMPass(llvm::SetLicmMssaOptCap, llvm::SetLicmMssaNoAccForPromotionCap, true)));
926+
llvm::LICMPass(llvm::SetLicmMssaOptCap, llvm::SetLicmMssaNoAccForPromotionCap, true), true));
927927
break;
928928
case rr::Optimization::Pass::AggressiveDCE: fpm.addPass(llvm::ADCEPass()); break;
929929
case rr::Optimization::Pass::GVN: fpm.addPass(llvm::GVNPass()); break;

0 commit comments

Comments
 (0)