[llvm] r194015 - SLPVectorizer: Use properlyDominates to satisfy the irreflexivity of a strict weak ordering.
Benjamin Kramer
benny.kra at googlemail.com
Mon Nov 4 13:34:55 PST 2013
Author: d0k
Date: Mon Nov 4 15:34:55 2013
New Revision: 194015
URL: http://llvm.org/viewvc/llvm-project?rev=194015&view=rev
Log:
SLPVectorizer: Use properlyDominates to satisfy the irreflexivity of a strict weak ordering.
STL debug mode checks this.
Modified:
llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=194015&r1=194014&r2=194015&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Mon Nov 4 15:34:55 2013
@@ -1626,7 +1626,7 @@ class DTCmp {
public:
DTCmp(const DominatorTree *DT) : DT(DT) {}
bool operator()(const BasicBlock *A, const BasicBlock *B) const {
- return DT->dominates(A, B);
+ return DT->properlyDominates(A, B);
}
};
More information about the llvm-commits
mailing list