From 2ec640a62f65da1cabe34cbc1978853402a2ca5c Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 30 Jun 2016 21:18:06 +0000 Subject: [PATCH] Don't use unchecked dyn_cast llvm-svn: 274282 --- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index e7480d0f15a7..8982b1b601b5 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -2560,7 +2560,7 @@ void InnerLoopVectorizer::vectorizeInterleaveGroup(Instruction *Instr) { assert(Member && "Fail to get a member from an interleaved store group"); Value *StoredVec = - getVectorValue(dyn_cast(Member)->getValueOperand())[Part]; + getVectorValue(cast(Member)->getValueOperand())[Part]; if (Group->isReverse()) StoredVec = reverseVector(StoredVec);