projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c85a2e
)
[SLP] Fix -Wunused-variable. NFC
author
Fangrui Song
<maskray@google.com>
Tue, 29 Oct 2019 16:38:33 +0000
(09:38 -0700)
committer
Fangrui Song
<maskray@google.com>
Tue, 29 Oct 2019 16:38:55 +0000
(09:38 -0700)
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index
83adec1
..
c78d72a
100644
(file)
--- a/
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@
-5334,8
+5334,7
@@
bool SLPVectorizerPass::runImpl(Function &F, ScalarEvolution *SE_,
bool SLPVectorizerPass::vectorizeStoreChain(ArrayRef<Value *> Chain, BoUpSLP &R,
unsigned Idx) {
- const unsigned ChainLen = Chain.size();
- LLVM_DEBUG(dbgs() << "SLP: Analyzing a store chain of length " << ChainLen
+ LLVM_DEBUG(dbgs() << "SLP: Analyzing a store chain of length " << Chain.size()
<< "\n");
const unsigned Sz = R.getVectorElementSize(Chain[0]);
const unsigned MinVF = R.getMinVecRegSize() / Sz;