[PATCH] D47444: [X86] Lowering FMA intrinsics to native IR (Clang part)

Tomasz Krupa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 28 01:31:56 PDT 2018


tkrupa created this revision.
tkrupa added reviewers: craig.topper, spatel, sroland.
Herald added a subscriber: cfe-commits.

This patch replaces all packed (and scalar without rounding mode) fused intrinsics with fmadd/fmaddsub variations. Then fmadd/fmaddsub are lowered to native IR.

Corresponding LLVM patch: https://reviews.llvm.org/D47443


Repository:
  rC Clang

https://reviews.llvm.org/D47444

Files:
  include/clang/Basic/BuiltinsX86.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Headers/avx512fintrin.h
  lib/Headers/avx512vlintrin.h
  lib/Sema/SemaChecking.cpp
  test/CodeGen/avx512f-builtins.c
  test/CodeGen/avx512vl-builtins.c
  test/CodeGen/fma-builtins.c
  test/CodeGen/fma4-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47444.148790.patch
Type: text/x-patch
Size: 343553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180528/75701b84/attachment-0001.bin>


More information about the cfe-commits mailing list