[PATCH] D99753: [SLP]Fix a bug in min/max reduction, number of condition uses.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 13:43:11 PDT 2021


ABataev added a comment.

In D99753#2665081 <https://reviews.llvm.org/D99753#2665081>, @spatel wrote:

> The problem/test looks similar to the one in 0a8e7ca402e <https://reviews.llvm.org/rG0a8e7ca402eb3470eb5faf4982581771cb849130> - can you explain how they differ (what allows these examples to avoid that fix)?

The reduced root is not select instruction anymore, it is an intrinsic call. And we cannot extract the condition


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99753



More information about the llvm-commits mailing list