From ec346c1314b19d4289cac5db8d81a89c2b40d3aa Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 3 Nov 2013 12:54:32 +0000 Subject: [PATCH] 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 --- lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 9082b9d75ac..7ab79ad3cf3 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -1682,7 +1682,7 @@ void BoUpSLP::optimizeGatherSequence() { for (SmallVectorImpl::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: