[PATCH] D93179: [X86] Convert fmin/fmax _mm_reduce_* intrinsics to emit llvm.reduction intrinsics (PR47506)

Pengfei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 29 04:01:46 PST 2020


pengfei added a comment.

In D93179#2473620 <https://reviews.llvm.org/D93179#2473620>, @RKSimon wrote:

> In D93179#2473342 <https://reviews.llvm.org/D93179#2473342>, @pengfei wrote:
>
>> Hi Simon, I found we have the same problem for fadd/fmul. See https://godbolt.org/z/3YKaGx
>> X86 Intrinsics imply `reassoc` flag, but `llvm.vector.reduce.*` doesn't.
>
> I'm not surprised - my current plan (after the holidays) is to add doxygen descriptions for all the reduction intrinsics and then update them making it clear what fast-math flags are assumed.

That's great. We are also updating intrinsic guide for such information. Anyway, have a good holiday.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93179



More information about the cfe-commits mailing list