Skip to content

Commit

Permalink
fixup! [LLVM] Tune SimplifyCFG options
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed May 21, 2021
1 parent ddbedfa commit 8539c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aotcompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ void addOptimizationPasses(legacy::PassManagerBase *PM, int opt_level,
.convertSwitchToLookupTable(true)
.needCanonicalLoops(false)
.hoistCommonInsts(true)
.sinkCommonInsts(true)
// .sinkCommonInsts(true) // FIXME: Causes assertion in llvm-late-lowering
));
PM->add(createSLPVectorizerPass());
// might need this after LLVM 11:
Expand Down

0 comments on commit 8539c1a

Please sign in to comment.