OSDN Git Service

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)
commit4bfcd6ff018b2aff95b70815781ff3fdbbcc09c1
tree8c6381edebbe6669bc6b42a8a1d26ed9d3d978f1
parent10cde000da8b281e8ab253397ad698bc5c555219
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334753 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/fp-fold.ll