Skip to content
Commit 51416caf authored by Craig Topper's avatar Craig Topper
Browse files

[APInt] Use MathExtras.h BitsToFloat/Double and Float/DoubleToBits instead of...

[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
parent ddb8e06a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment