OSDN Git Service

[X86] Implement the fusing of MUL+SUBADD to FMSUBADD
authorCraig Topper <craig.topper@intel.com>
Wed, 20 Dec 2017 18:05:15 +0000 (18:05 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 20 Dec 2017 18:05:15 +0000 (18:05 +0000)
commit2386b66ab187a48603b6d121b50173069e5cfced
tree95bae7eca81c637d2fd896343c69f8bf3b237400
parent9274a9b246ca8970c9e1880756a4de8f8244540e
[X86] Implement the fusing of MUL+SUBADD to FMSUBADD

This patch turns shuffles of fadd/fsub with fmul into fmsubadd.

Patch by Dmitry Venikov

Differential Revision: https://reviews.llvm.org/D40335

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/fmsubadd-combine.ll