This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Select full-fp16 s16 G_FCONSTANT as a constant pool load
ClosedPublic

Authored by paquette on Aug 30 2021, 4:42 PM.

Details

Summary

When we have full-fp16 support, we should (manually select) s16 G_FCONSTANT to a constant pool load.

Add support for that to emitLoadFromConstantPool + the existing constant selection code.

Also tidy up the constant selection code a little. There were some out-of-date comments + some dead code.

Diff Detail

Event Timeline

paquette created this revision.Aug 30 2021, 4:42 PM
paquette requested review of this revision.Aug 30 2021, 4:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2021, 4:42 PM
aemerson accepted this revision.Sep 1 2021, 11:51 AM
This revision is now accepted and ready to land.Sep 1 2021, 11:51 AM
This revision was landed with ongoing or failed builds.Sep 10 2021, 7:38 PM
This revision was automatically updated to reflect the committed changes.