OSDN Git Service

Utilize new SDNode flag functionality to expand current support for fadd
authorMichael Berg <michael_c_berg@apple.com>
Mon, 18 Jun 2018 23:44:59 +0000 (23:44 +0000)
committerMichael Berg <michael_c_berg@apple.com>
Mon, 18 Jun 2018 23:44:59 +0000 (23:44 +0000)
commit56057ccc175bdfc8eecf3713482ce9b3ab7112e2
tree3d30fcd0960634a0bba158ca37a16f40be6cd7c4
parent8187a5bc6dfc41b2fdfd91ebd7e216bb2594eeba
Utilize new SDNode flag functionality to expand current support for fadd

Summary: This patch originated from D46562 and is a proper subset, with some issues addressed.

Reviewers: spatel, hfinkel, wristow, arsenm, javed.absar

Reviewed By: spatel

Subscribers: wdng, nhaehnle

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334996 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/AArch64/fadd-combines.ll
test/CodeGen/AMDGPU/fadd.ll
test/CodeGen/X86/fmf-flags.ll
test/CodeGen/X86/fp-fold.ll