Utilize new SDNode flag functionality to expand current support for fdiv
authorMichael Berg <michael_c_berg@apple.com>
Fri, 15 Jun 2018 20:44:55 +0000 (20:44 +0000)
committerMichael Berg <michael_c_berg@apple.com>
Fri, 15 Jun 2018 20:44:55 +0000 (20:44 +0000)
commit02d1c6c0cf20b7c6e4df3c4bba14a55d6195efbd
treeb7e8d2dd72a573765bae4d881463e9d9bb6bb5e5
parentecba8846aab3c7ab0c6d223456834222b8bec488
Utilize new SDNode flag functionality to expand current support for fdiv

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

Reviewers: spatel, hfinkel, wristow, arsenm

Reviewed By: spatel

Subscribers: wdng, nhaehnle

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

llvm-svn: 334862
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AMDGPU/fdiv.f16.ll
llvm/test/CodeGen/X86/fmf-flags.ll