updating isNegatibleForFree and GetNegatedExpression with fmf for fadd
authorMichael Berg <michael_c_berg@apple.com>
Thu, 14 Jun 2018 18:48:31 +0000 (18:48 +0000)
committerMichael Berg <michael_c_berg@apple.com>
Thu, 14 Jun 2018 18:48:31 +0000 (18:48 +0000)
commit4663ceb63f893e3281337049d802c6fff1208ceb
tree58ebbec0dfbd163e81b64cc818510d19e1dcb172
parent277f898a4d155cbf79b017f163f7f6671c5acf73
updating isNegatibleForFree and GetNegatedExpression with fmf for fadd

Summary:  A FMF constraint is added to FADD with unsafe still available as the fallback

Reviewers: spatel, wristow, arsenm, hfinkel

Reviewed By: spatel

Subscribers: wdng

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

llvm-svn: 334753
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/fp-fold.ll