This is an archive of the discontinued LLVM Phabricator instance.

[X86] Lowering FMA intrinsics to native IR (Clang part)
ClosedPublic

Authored by tkrupa on May 28 2018, 1:31 AM.

Details

Summary

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: D47443

Diff Detail

Event Timeline

tkrupa created this revision.May 28 2018, 1:31 AM
craig.topper accepted this revision.May 29 2018, 10:31 AM

LGTM

lib/CodeGen/CGBuiltin.cpp
8416

Please indent this to line up with the first argument on the previous line.

This revision is now accepted and ready to land.May 29 2018, 10:31 AM
This revision was automatically updated to reflect the committed changes.