HomePhabricator

[libc] Make FPBits a union.

Authored by sivachandra on Apr 12 2021, 3:56 PM.

Description

[libc] Make FPBits a union.

This helps us avoid the uncomfortable reinterpret-casts. Avoiding the
reinterpret casts prevents us from tripping the sanitizers as well.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D100360

Details

Committed
sivachandraApr 13 2021, 9:21 AM
Reviewer
lntue
Differential Revision
D100360: [libc] Make FPBits a union.
Parents
rGf1a4df542dfb: Remove empty test case
Branches
Unknown
Tags
Unknown