SLPVectorizer: Use properlyDominates to satisfy the irreflexivity of a strict weak ordering.

STL debug mode checks this.

llvm-svn: 194015
This commit is contained in:
Benjamin Kramer 2013-11-04 21:34:55 +00:00
parent a8e894405c
commit 9e7f7c7fdb
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
};