commit | f0dc104a3641cec429bffe3a5f6c0ef7c2eb4dcb | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Fri May 12 16:28:21 2017 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Fri May 12 16:28:21 2017 +0000 |
tree | 7e9d95ca6d8f76bb172c8f28b27efac7c8c2f784 | |
parent | c5d0c88a98ffa1050819b274c8a64d31d1882c00 [diff] |
[APInt] Use MathExtras.h BitsToFloat/Double and Float/DoubleToBits instead of type punning through a union The functions in MathExtras.h uses a safer memcpy instead of going through a union. Differential Revision: https://reviews.llvm.org/D33116 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302916 91177308-0d34-0410-b5e6-96231b3b80d8