Utilize new SDNode flag functionality to expand current support for fma
authorMichael Berg <michael_c_berg@apple.com>
Sat, 16 Jun 2018 00:03:06 +0000 (00:03 +0000)
committerMichael Berg <michael_c_berg@apple.com>
Sat, 16 Jun 2018 00:03:06 +0000 (00:03 +0000)
commit8e570c3390d208e0fc2a1f6ffc0152f9a322a8d6
treebc7b86496dcfba50bebb5f4c0d9b56d1df288a2e
parentaf30bb1c90b052fbb0e4bbff32471e505e2d9c18
Utilize new SDNode flag functionality to expand current support for fma

Summary: This patch originated from D47388 and is a proper subset of the originating changes, containing only the fmf optimization guard extensions.

Reviewers: spatel, hfinkel, wristow, arsenm, javed.absar, rampitec, nhaehnle, nemanjai

Reviewed By: rampitec, nhaehnle

Subscribers: tpr, nemanjai, wdng

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

llvm-svn: 334876
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/neon-fma-FMF.ll
llvm/test/CodeGen/PowerPC/fma-aggr-FMF.ll
llvm/test/CodeGen/PowerPC/fmf-propagation.ll