HomePhabricator

SLPVectorizer.cpp: Avoid std::stable_sort(properlyDominates()).

Description

SLPVectorizer.cpp: Avoid std::stable_sort(properlyDominates()).

properlyDominates() shouldn't be used as sort key. It causes different output between stdlibc++ and libc++.
Instead, I introduced RPOT. In most cases, it works for CSE.

Details

Committed
chapuniNov 21 2017, 1:41 AM
Parents
rL318742: Correct NetBSD support in pthread_once(3)/TSan
Branches
Unknown
Tags
Unknown