forked from OSchip/llvm-project
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:
parent
a8e894405c
commit
9e7f7c7fdb
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue