Author: Jamie Schmeiser Date: 2021-01-15T09:56:44-05:00 New Revision: 17d0fb7f574ebc8a6449382983d91715b6977c32
URL: https://github.com/llvm/llvm-project/commit/17d0fb7f574ebc8a6449382983d91715b6977c32 DIFF: https://github.com/llvm/llvm-project/commit/17d0fb7f574ebc8a6449382983d91715b6977c32.diff LOG: 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 <schme...@ca.ibm.com> Reviewed By: asbirlea (Alina Sbirlea) Differential Revision: https://reviews.llvm.org/D92486 Added: Modified: llvm/lib/Transforms/Scalar/LoopSink.cpp Removed: ################################################################################ diff --git a/llvm/lib/Transforms/Scalar/LoopSink.cpp b/llvm/lib/Transforms/Scalar/LoopSink.cpp index c20e5e0cbfb3..47698fdde69f 100644 --- a/llvm/lib/Transforms/Scalar/LoopSink.cpp +++ b/llvm/lib/Transforms/Scalar/LoopSink.cpp @@ -70,7 +70,7 @@ static cl::opt<unsigned> MaxNumberOfUseBBsForSinking( cl::desc("Do not sink instructions that have too many uses.")); static cl::opt<bool> EnableMSSAInLoopSink( - "enable-mssa-in-loop-sink", cl::Hidden, cl::init(false), + "enable-mssa-in-loop-sink", cl::Hidden, cl::init(true), cl::desc("Enable MemorySSA for LoopSink in new pass manager")); static cl::opt<bool> EnableMSSAInLegacyLoopSink( _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits