llvm.org GIT mirror llvm / 42916d8
Remove unnecessary cast. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308166 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
12111211 // Check that all of the users of the scalars that we want to vectorize are
12121212 // schedulable.
12131213 Instruction *VL0 = cast(VL[0]);
1214 BasicBlock *BB = cast(VL0)->getParent();
1214 BasicBlock *BB = VL0->getParent();
12151215
12161216 if (!DT->isReachableFromEntry(BB)) {
12171217 // Don't go into unreachable blocks. They may contain instructions with