From: Sanjoy Das <sanjoy@playingwithpointers.com> Date: Tue, 21 Apr 2015 20:42:50 +0000 (+0000) Subject: [LSR][NFC] Remove a stale comment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=86ab1ba559898ec78b2fa0e425cd2f666831b8ab;p=oota-llvm.git [LSR][NFC] Remove a stale comment. The comment was made stale in r171735. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235414 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 099f227af55..fef505331d6 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -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.