Move the constant-folding support for FP_ROUND in SelectionDAG from the one-operand...
authorOwen Anderson <resistor@mac.com>
Tue, 10 Apr 2012 22:46:53 +0000 (22:46 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 10 Apr 2012 22:46:53 +0000 (22:46 +0000)
commit06886aaaebe38b7e4b253b336624c9a7ab6dbc44
tree98d78fee2125b594e2037ae3a9659d771ed75caa
parent83f17f25fc560db4f756010a1bbe1f8eb1d74b12
Move the constant-folding support for FP_ROUND in SelectionDAG from the one-operand version of getNode() to the two-operand version, since it became a two-operand node at sound point.
Zap a testcase that this allows us to completely fold away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154447 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
test/CodeGen/ARM/fcopysign.ll