Previously we type-punned through a union, which is not safe.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D28161
[ADT] Use memcpy for type punning in MathExtras. ClosedPublic Authored by jlebar on Dec 29 2016, 9:46 AM.
Details Summary Previously we type-punned through a union, which is not safe.
Diff Detail
Event Timelinejlebar updated this object. This revision is now accepted and ready to land.Dec 29 2016, 10:04 AM Closed by commit rL290715: [ADT] Use memcpy for type punning in MathExtras. (authored by jlebar). · Explain WhyDec 29 2016, 10:26 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 82679 llvm/trunk/include/llvm/Support/MathExtras.h
|