[PATCH] D117881: [X86] Remove avx512f integer and/or/xor/min/max reduction intrinsics and use generic equivalents

Simon Pilgrim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 22 01:25:22 PST 2022


RKSimon added a comment.

In D117881#3263152 <https://reviews.llvm.org/D117881#3263152>, @pengfei wrote:

> What's the difference between `__builtin_reduce_and` and generating a `Intrinsic::vector_reduce_and` in code? If this is just a simplification, why can't be applied to `add` too?

There's a few questions about whether we can reuse a `__builtin_reduce_add` builtin for both integer and float types - they need to be addressed before we can decide on its final functionality - same for `__builtin_reduce_mul`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117881



More information about the cfe-commits mailing list