[PATCH] D97406: [Vectorizers]Improve emission of logical or/and reductions.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 08:02:40 PST 2021


ABataev added a comment.

In D97406#2597397 <https://reviews.llvm.org/D97406#2597397>, @lebedev.ri wrote:

> `llvm/lib/Transforms/Vectorize/` changes should not be there, the costmodel itself should be fixed.

So, do you suggest modifying `getArithmeticReductionCost` to return the correct cost for logical reductions?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97406



More information about the llvm-commits mailing list