Skip to content

Commit 17d0fb7

Browse files
Set option default for enabling memory ssa for new pass manager loop sink pass to true.
Summary: Set the default for the option enabling memory ssa use in the loop sink pass to true for the new pass manager. Author: Jamie Schmeiser <[email protected]> Reviewed By: asbirlea (Alina Sbirlea) Differential Revision: https://reviews.llvm.org/D92486
1 parent 5183a13 commit 17d0fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/LoopSink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static cl::opt<unsigned> MaxNumberOfUseBBsForSinking(
7070
cl::desc("Do not sink instructions that have too many uses."));
7171

7272
static cl::opt<bool> EnableMSSAInLoopSink(
73-
"enable-mssa-in-loop-sink", cl::Hidden, cl::init(false),
73+
"enable-mssa-in-loop-sink", cl::Hidden, cl::init(true),
7474
cl::desc("Enable MemorySSA for LoopSink in new pass manager"));
7575

7676
static cl::opt<bool> EnableMSSAInLegacyLoopSink(

0 commit comments

Comments
 (0)