diff options
author | Jim Lin <tclin914@gmail.com> | 2020-02-18 10:48:38 +0800 |
---|---|---|
committer | Jim Lin <tclin914@gmail.com> | 2020-02-18 10:49:13 +0800 |
commit | 466f8843f526b03c8944a46af5ebb374133b5389 (patch) | |
tree | cc70f008c07ca4995549aa8003240a42a0de5f14 /llvm/lib/Analysis/VectorUtils.cpp | |
parent | fa75bffbbbcf400217583f1afed9ec875b395bed (diff) | |
download | llvm-466f8843f526b03c8944a46af5ebb374133b5389.zip llvm-466f8843f526b03c8944a46af5ebb374133b5389.tar.gz llvm-466f8843f526b03c8944a46af5ebb374133b5389.tar.bz2 |
[NFC] Remove trailing space
sed -Ei 's/[[:space:]]+$//' include/**/*.{def,h,td} lib/**/*.{cpp,h,td}
Diffstat (limited to 'llvm/lib/Analysis/VectorUtils.cpp')
-rw-r--r-- | llvm/lib/Analysis/VectorUtils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/VectorUtils.cpp b/llvm/lib/Analysis/VectorUtils.cpp index d2c521a..9bdf0f3 100644 --- a/llvm/lib/Analysis/VectorUtils.cpp +++ b/llvm/lib/Analysis/VectorUtils.cpp @@ -684,7 +684,7 @@ llvm::createBitMaskForGaps(IRBuilder<> &Builder, unsigned VF, return ConstantVector::get(Mask); } -Constant *llvm::createReplicatedMask(IRBuilder<> &Builder, +Constant *llvm::createReplicatedMask(IRBuilder<> &Builder, unsigned ReplicationFactor, unsigned VF) { SmallVector<Constant *, 16> MaskVec; for (unsigned i = 0; i < VF; i++) @@ -951,7 +951,7 @@ void InterleavedAccessInfo::analyzeInterleaving( // create a group for B, we continue with the bottom-up algorithm to ensure // we don't break any of B's dependences. InterleaveGroup<Instruction> *Group = nullptr; - if (isStrided(DesB.Stride) && + if (isStrided(DesB.Stride) && (!isPredicated(B->getParent()) || EnablePredicatedInterleavedMemAccesses)) { Group = getInterleaveGroup(B); if (!Group) { @@ -1052,8 +1052,8 @@ void InterleavedAccessInfo::analyzeInterleaving( // All members of a predicated interleave-group must have the same predicate, // and currently must reside in the same BB. - BasicBlock *BlockA = A->getParent(); - BasicBlock *BlockB = B->getParent(); + BasicBlock *BlockA = A->getParent(); + BasicBlock *BlockB = B->getParent(); if ((isPredicated(BlockA) || isPredicated(BlockB)) && (!EnablePredicatedInterleavedMemAccesses || BlockA != BlockB)) continue; |