llvm-project
3448e9c0 - [AArch64][GlobalISel] Fix lowering of i64->f32 itofp. (#132703)

Commit
86 days ago
[AArch64][GlobalISel] Fix lowering of i64->f32 itofp. (#132703) This is a GISel equivalent of #130665, preventing a double-rounding issue in sitofp/uitofp by scalarizing i64->f32 converts. Most of the changes are made in the ActionDefinitionsBuilder for G_SITOFP/G_UITOFP. Because it is legal to convert i64->f16 itofp without double-rounding, but not a fpround f64->f16, that variant is lowered to build the two extends.
Author
Parents
Loading