Use APInt to convert a 32-bit or 64-bit immediate to an APFloat rather than bit_cast to a float or double to avoid going through host floating-point and potentially changing the bit pattern of NaNs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I can confirm that this patch fixes the failing immediates.ll test on x86 built by gcc 10.