This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][GlobalISel] Legalize narrow scalar FP arithmetic
ClosedPublic

Authored by paquette on Aug 24 2021, 1:28 PM.

Details

Summary

Widen narrow fp arithmetic ops (e.g. G_FADD). When we don't have full FP16 support, widen to s32. Otherwise widen to s16.

https://godbolt.org/z/TbT9Pqa7e

Diff Detail

Event Timeline

paquette created this revision.Aug 24 2021, 1:28 PM
paquette requested review of this revision.Aug 24 2021, 1:28 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2021, 1:28 PM
paquette edited the summary of this revision. (Show Details)Aug 24 2021, 1:29 PM
jroelofs accepted this revision.Aug 24 2021, 1:47 PM
This revision is now accepted and ready to land.Aug 24 2021, 1:47 PM
This revision was landed with ongoing or failed builds.Aug 24 2021, 1:54 PM
This revision was automatically updated to reflect the committed changes.