[llvm] 38ec33d - [LSR] Update outdated comment
eop Chen via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 16 12:24:21 PDT 2022
Author: eop Chen
Date: 2022-04-16T12:11:15-07:00
New Revision: 38ec33d6b9cf7efd6bef5bc238ac32d7e0ffaf39
URL: https://github.com/llvm/llvm-project/commit/38ec33d6b9cf7efd6bef5bc238ac32d7e0ffaf39
DIFF: https://github.com/llvm/llvm-project/commit/38ec33d6b9cf7efd6bef5bc238ac32d7e0ffaf39.diff
LOG: [LSR] Update outdated comment
Added:
Modified:
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index d1e03292cb82b..c88b6ecdef93d 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -141,10 +141,7 @@ static const unsigned MaxIVUsers = 200;
/// the salvaging is not too expensive for the compiler.
static const unsigned MaxSCEVSalvageExpressionSize = 64;
-// Temporary flag to cleanup congruent phis after LSR phi expansion.
-// It's currently disabled until we can determine whether it's truly useful or
-// not. The flag should be removed after the v3.0 release.
-// This is now needed for ivchains.
+// Cleanup congruent phis after LSR phi expansion.
static cl::opt<bool> EnablePhiElim(
"enable-lsr-phielim", cl::Hidden, cl::init(true),
cl::desc("Enable LSR phi elimination"));
More information about the llvm-commits
mailing list