projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4ea61
)
Fix an unused variable warning which broke the clang-cmake-mips builder
author
Philip Reames
<listmail@philipreames.com>
Thu, 29 Oct 2015 04:21:49 +0000
(
04:21
+0000)
committer
Philip Reames
<listmail@philipreames.com>
Thu, 29 Oct 2015 04:21:49 +0000
(
04:21
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251614
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/LazyValueInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/LazyValueInfo.cpp
b/lib/Analysis/LazyValueInfo.cpp
index 3e739c42a02e929de13b2d3feb436966733261bf..a4e02686ecd31906fcb464d311f8db05d34aa50e 100644
(file)
--- a/
lib/Analysis/LazyValueInfo.cpp
+++ b/
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);
}