From 63d8f88686e9bde3b6ee94f24c2ab1d4e1df3e4a Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 4 Nov 2013 21:34:55 +0000 Subject: [PATCH] SLPVectorizer: Use properlyDominates to satisfy the irreflexivity of a strict weak ordering. STL debug mode checks this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194015 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 7ab79ad3cf3..5c185f1e67b 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -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); } }; -- 2.34.1