[llvm] r262448 - Remove "auto" to appease the MSVC bots

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 17:59:37 PST 2016


Author: sanjoy
Date: Tue Mar  1 19:59:37 2016
New Revision: 262448

URL: http://llvm.org/viewvc/llvm-project?rev=262448&view=rev
Log:
Remove "auto" to appease the MSVC bots

Modified:
    llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=262448&r1=262447&r2=262448&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Tue Mar  1 19:59:37 2016
@@ -4577,10 +4577,10 @@ ConstantRange ScalarEvolution::getRangeV
   // from deep in the call stack, and calling getSCEV (on a sext instruction,
   // say) can end up caching a suboptimal value.
 
-  auto TrueRange = getRangeForAffineAR(
+  ConstantRange TrueRange = getRangeForAffineAR(
       getConstant(*StartPattern.TrueValue + Offset),
       getConstant(*StepPattern.TrueValue), MaxBECount, BitWidth);
-  auto FalseRange = getRangeForAffineAR(
+  ConstantRange FalseRange = getRangeForAffineAR(
       getConstant(*StartPattern.FalseValue + Offset),
       getConstant(*StepPattern.FalseValue), MaxBECount, BitWidth);
 




More information about the llvm-commits mailing list