diff options
author | Philip Reames <listmail@philipreames.com> | 2015-10-29 04:21:49 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-10-29 04:21:49 +0000 |
commit | 70efccd7dd574a11441bda57a3608d9003ed76d8 (patch) | |
tree | 46c09396cfab663a060da42837fd6eece3924160 /llvm/lib/Analysis/LazyValueInfo.cpp | |
parent | 7b452e2c6363ed7a929ce3ba1285f75e74d83423 (diff) | |
download | bcm5719-llvm-70efccd7dd574a11441bda57a3608d9003ed76d8.tar.gz bcm5719-llvm-70efccd7dd574a11441bda57a3608d9003ed76d8.zip |
Fix an unused variable warning which broke the clang-cmake-mips builder
llvm-svn: 251614
Diffstat (limited to 'llvm/lib/Analysis/LazyValueInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/LazyValueInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp index 3e739c42a02..a4e02686ecd 100644 --- a/llvm/lib/Analysis/LazyValueInfo.cpp +++ b/llvm/lib/Analysis/LazyValueInfo.cpp @@ -505,7 +505,7 @@ static LVILatticeVal getFromRangeMetadata(Instruction *BBI) { 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); } |