[X86] Convert fadd/fmul _mm_reduce_* intrinsics to emit llvm.reduction intrinsics...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 13 Dec 2020 15:37:35 +0000 (15:37 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 13 Dec 2020 15:37:35 +0000 (15:37 +0000)
commit4855a1004d4d87b6c21c510c1724e74a8d37d91a
tree6dd94e718ea4ca8632272aeb673eb0f3801283ef
parent47321c311bdbe0145b9bf45d822185c37b19fa50
[X86] Convert fadd/fmul _mm_reduce_* intrinsics to emit llvm.reduction intrinsics (PR47506)

Followup to D87604, having confirmed on PR47506 that we can use the llvm codegen expansion for fadd/fmul as well.

Differential Revision: https://reviews.llvm.org/D92940
clang/include/clang/Basic/BuiltinsX86.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Headers/avx512fintrin.h
clang/test/CodeGen/X86/avx512-reduceIntrin.c