[PATCH] D38586: SLPVectorizer.cpp: Avoid std::stable_sort() due to asymmetric comparator

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 11:37:42 PDT 2017


On Thu, Oct 05, 2017 at 02:45:56PM +0000, NAKAMURA Takumi via Phabricator via llvm-commits wrote:
> Consider A,B,C,D,E, and F.
> DT->properlyDominates() says;
> 
> - D dominates A
> - E dominates C
> - F dominates B

Well, just this alone doesn't sound like the order is fully defined. I'm
also not sure what you mean by "asymmetric".

Joerg


More information about the llvm-commits mailing list