llvm-project
3fc277f6 - [SLPVectorizer] Make the insert/extractvector PHICompare a strict-weak ordering (#83571)

Commit
1 year ago
[SLPVectorizer] Make the insert/extractvector PHICompare a strict-weak ordering (#83571) This was tripping off STL implementations that check for it (like libc++ with debug checking). The goal of this sort is to cluster operations on the same values so preserve that property but sort everything else based on the existing numbering.
Author
d0k d0k
Parents
  • llvm/lib/Transforms/Vectorize
    • File
      SLPVectorizer.cpp