[LSR][NFC] Remove a stale comment.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 21 Apr 2015 20:42:50 +0000 (20:42 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 21 Apr 2015 20:42:50 +0000 (20:42 +0000)
The comment was made stale in r171735.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235414 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 099f227af55f977ca39dd6735eabf2836c239018..fef505331d627d7c8861eb943bb7e730ea6367f8 100644 (file)
@@ -1383,9 +1383,6 @@ static bool isAMCompletelyFolded(const TargetTransformInfo &TTI,
   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.