Make it possible for a target to mark FSUB as Expand. This requires providing a...
authorOwen Anderson <resistor@mac.com>
Tue, 6 Mar 2012 00:29:31 +0000 (00:29 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 6 Mar 2012 00:29:31 +0000 (00:29 +0000)
commitafd3d56b9dc791d37120922318293a021bd35598
treeb7092892b035a2ac9e6a8133aa775e5ba60fc8e9
parent4f92b5e6163b16d63eb63269c2aec670b55ea19a
Make it possible for a target to mark FSUB as Expand.  This requires providing a default expansion (FADD+FNEG), and teaching DAGCombine not to form FSUBs post-legalize if they are not legal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152079 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp