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

Simon Pilgrim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 29 01:48:37 PST 2020


RKSimon added a comment.

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.


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