SelectionDAG: fold (fp_to_u/sint (s/uint_to_fp)) here too
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 16 Feb 2015 21:47:58 +0000 (21:47 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 16 Feb 2015 21:47:58 +0000 (21:47 +0000)
commit2deb1d0b547ce041d64951bd7e2378b02861aa01
tree843df4de4bc81dd3efb8b7f9392487a3a6614a52
parente97c675022d7aba58992d6fb0e2a5f139f0db0a2
SelectionDAG: fold (fp_to_u/sint (s/uint_to_fp)) here too

Update SPARC tests to match.

From: Fiona Glaser <fglaser@apple.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229438 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/SPARC/float.ll
test/CodeGen/SPARC/fp128.ll
test/CodeGen/X86/float-conv-elim.ll [new file with mode: 0644]