Fix an unused variable warning which broke the clang-cmake-mips builder

llvm-svn: 251614
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp
index 3e739c4..a4e0268 100644
--- a/llvm/lib/Analysis/LazyValueInfo.cpp
+++ b/llvm/lib/Analysis/LazyValueInfo.cpp
@@ -505,7 +505,7 @@
   case Instruction::Call:
   case Instruction::Invoke:
     if (MDNode *Ranges = BBI->getMetadata(LLVMContext::MD_range)) 
-      if (auto *IType = dyn_cast<IntegerType>(BBI->getType())) {
+      if (isa<IntegerType>(BBI->getType())) {
         ConstantRange Result = getConstantRangeFromMetadata(*Ranges);
         return LVILatticeVal::getRange(Result);
       }