Rewrite i64-to-f64 conversion using an algorithm which handles
authorDan Gohman <gohman@apple.com>
Fri, 5 Mar 2010 02:00:46 +0000 (02:00 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 5 Mar 2010 02:00:46 +0000 (02:00 +0000)
commitcfa7ca19974a463b47f16a61bfecf7f532dca07d
tree49c3b24063559751b18561d1e1fbc5c93b265d30
parentfb86d78a45212b66c806a286a56bfd5d0ca77247
Rewrite i64-to-f64 conversion using an algorithm which handles
rounding correctly. This implementation is a generalization of
the x86_64 code in compiler-rt.

This fixes rdar://7683708.

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