Page MenuHomePhabricator

[MIPS GlobalISel] Lower uitofp
ClosedPublic

Authored by Petar.Avramovic on Thu, Aug 29, 1:02 AM.

Details

Summary

Add custom lowering for G_UITOFP for MIPS32.

Diff Detail

Repository
rL LLVM

Event Timeline

Algorithm is similar to the one SDAG uses in SelectionDAGLegalize::ExpandLegalINT_TO_FP
The difference is that here we use BuildPair instead of sequence of two i32 stores followed by f64 load since it results in one instruction less.

This revision is now accepted and ready to land.Thu, Aug 29, 6:54 AM
This revision was automatically updated to reflect the committed changes.