Don't use unchecked dyn_cast

llvm-svn: 274282
This commit is contained in:
Matt Arsenault 2016-06-30 21:18:06 +00:00
parent 727e279ac4
commit 2ec640a62f
1 changed files with 1 additions and 1 deletions

View File

@ -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<StoreInst>(Member)->getValueOperand())[Part];
getVectorValue(cast<StoreInst>(Member)->getValueOperand())[Part];
if (Group->isReverse())
StoredVec = reverseVector(StoredVec);