[PATCH] D115268: [SLP]Fix comparator for cmp instruction vectorization.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 17:11:18 PST 2021


ABataev added a comment.

In D115268#3178211 <https://reviews.llvm.org/D115268#3178211>, @vporpo wrote:

> Hmm, I am not seeing any difference in the output with/without the patch. Could you pre-commit it?

It is not a difference, it is a crash in debug build on Windows, MSVC. MSVC Standard c++ lib has a check for strict weak ordering and crashes because current comparator does not meet the criterion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115268/new/

https://reviews.llvm.org/D115268



More information about the llvm-commits mailing list