[LSR] Update outdated comment
authoreop Chen <eop.chen@sifive.com>
Sat, 16 Apr 2022 19:10:58 +0000 (12:10 -0700)
committereop Chen <eop.chen@sifive.com>
Sat, 16 Apr 2022 19:11:15 +0000 (12:11 -0700)
llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

index d1e03292cb82bcb77933e98215e501afd11b37f3..c88b6ecdef93dd253afaf6458551db6bb78a6449 100644 (file)
@@ -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"));