mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 10:27:09 +00:00
SLPVectorizer: Fix typos
Patch by Arch D. Robison! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205019 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b48eb2cdaa
commit
aa0a2a35f8
@ -1998,7 +1998,7 @@ bool SLPVectorizer::vectorizeStoreChain(ArrayRef<Value *> Chain,
|
||||
if (!isPowerOf2_32(Sz) || VF < 2)
|
||||
return false;
|
||||
|
||||
// Keep track of values that were delete by vectorizing in the loop below.
|
||||
// Keep track of values that were deleted by vectorizing in the loop below.
|
||||
SmallVector<WeakVH, 8> TrackValues(Chain.begin(), Chain.end());
|
||||
|
||||
bool Changed = false;
|
||||
@ -2182,7 +2182,7 @@ bool SLPVectorizer::tryToVectorizeList(ArrayRef<Value *> VL, BoUpSLP &R,
|
||||
int Cost = R.getTreeCost();
|
||||
|
||||
if (Cost < -SLPCostThreshold) {
|
||||
DEBUG(dbgs() << "SLP: Vectorizing pair at cost:" << Cost << ".\n");
|
||||
DEBUG(dbgs() << "SLP: Vectorizing list at cost:" << Cost << ".\n");
|
||||
Value *VectorizedRoot = R.vectorizeTree();
|
||||
|
||||
// Reconstruct the build vector by extracting the vectorized root. This
|
||||
|
Loading…
x
Reference in New Issue
Block a user