diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-11-03 12:54:32 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-11-03 12:54:32 +0000 |
commit | ec346c1314b19d4289cac5db8d81a89c2b40d3aa (patch) | |
tree | 3547938b31d6c6e384c0562b566585e0d7dee34a /lib/Transforms/Vectorize | |
parent | fcd5e86396e121fef7ad11d41cc8bc0a541631b2 (diff) | |
download | external_llvm-ec346c1314b19d4289cac5db8d81a89c2b40d3aa.zip external_llvm-ec346c1314b19d4289cac5db8d81a89c2b40d3aa.tar.gz external_llvm-ec346c1314b19d4289cac5db8d81a89c2b40d3aa.tar.bz2 |
SLPVectorizer: Add a missing pair of parens. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Vectorize')
-rw-r--r-- | lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 9082b9d..7ab79ad 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -1682,7 +1682,7 @@ void BoUpSLP::optimizeGatherSequence() { for (SmallVectorImpl<BasicBlock *>::iterator I = CSEWorkList.begin(), E = CSEWorkList.end(); I != E; ++I) { - assert(I == CSEWorkList.begin() || !DT->dominates(*I, *llvm::prior(I)) && + assert((I == CSEWorkList.begin() || !DT->dominates(*I, *llvm::prior(I))) && "Worklist not sorted properly!"); BasicBlock *BB = *I; // For all instructions in blocks containing gather sequences: |