X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTransforms%2FScalar%2FLoopStrengthReduce.cpp;h=fef505331d627d7c8861eb943bb7e730ea6367f8;hp=099f227af55f977ca39dd6735eabf2836c239018;hb=86ab1ba559898ec78b2fa0e425cd2f666831b8ab;hpb=1cacd28c3b2e5f406d8f678ab8fa1a6d03c3713e 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.