[llvm] r235414 - [LSR][NFC] Remove a stale comment.

Sanjoy Das sanjoy at playingwithpointers.com
Tue Apr 21 13:42:51 PDT 2015


Author: sanjoy
Date: Tue Apr 21 15:42:50 2015
New Revision: 235414

URL: http://llvm.org/viewvc/llvm-project?rev=235414&view=rev
Log:
[LSR][NFC] Remove a stale comment.

The comment was made stale in r171735.

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=235414&r1=235413&r2=235414&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Tue Apr 21 15:42:50 2015
@@ -1383,9 +1383,6 @@ static bool isAMCompletelyFolded(const T
   case LSRUse::Address:
     return TTI.isLegalAddressingMode(AccessTy, BaseGV, BaseOffset, HasBaseReg, Scale);
 
-    // Otherwise, just guess that reg+reg addressing is legal.
-    //return ;
-
   case LSRUse::ICmpZero:
     // There's not even a target hook for querying whether it would be legal to
     // fold a GV into an ICmp.





More information about the llvm-commits mailing list