diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-05-12 16:28:21 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-05-12 16:28:21 +0000 |
commit | 51416caf343a56754c06f64843eda12698f1a91a (patch) | |
tree | e03317b73830f3387d3bec17cbc43b76b5599281 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | ddb8e06a8e5cf4964d1f87e51ba5541235dd6a48 (diff) | |
download | llvm-51416caf343a56754c06f64843eda12698f1a91a.zip llvm-51416caf343a56754c06f64843eda12698f1a91a.tar.gz llvm-51416caf343a56754c06f64843eda12698f1a91a.tar.bz2 |
[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
llvm-svn: 302916
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions