forked from OSchip/llvm-project
parent
9443c18704
commit
879ed20bde
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue