Fix typo. NFCI

llvm-svn: 371317
This commit is contained in:
Simon Pilgrim 2019-09-07 18:09:09 +00:00
parent 9443c18704
commit 879ed20bde
1 changed files with 1 additions and 1 deletions

View File

@ -2621,7 +2621,7 @@ void BoUpSLP::buildTree_rec(ArrayRef<Value *> VL, unsigned Depth,
return;
}
case Instruction::Store: {
// Check if the stores are consecutive or of we need to swizzle them.
// Check if the stores are consecutive or if we need to swizzle them.
for (unsigned i = 0, e = VL.size() - 1; i < e; ++i)
if (!isConsecutiveAccess(VL[i], VL[i + 1], *DL, *SE)) {
BS.cancelScheduling(VL, VL0);