diff options
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
-rw-r--r-- | llvm/lib/IR/Value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp index 5f7e258441a..52dcd6311ff 100644 --- a/llvm/lib/IR/Value.cpp +++ b/llvm/lib/IR/Value.cpp @@ -496,7 +496,7 @@ static bool isDereferenceablePointer(const Value *V, const DataLayout *DL, // is at least as large as for the resulting pointer type, then // we can look through the bitcast. if (DL) - if (const BitCastInst* BC = dyn_cast<BitCastInst>(V)) { + if (const BitCastOperator *BC = dyn_cast<BitCastOperator>(V)) { Type *STy = BC->getSrcTy()->getPointerElementType(), *DTy = BC->getDestTy()->getPointerElementType(); if (STy->isSized() && DTy->isSized() && |