This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Translate llvm.convert.{to|from}.fp16 intrinsics
ClosedPublic

Authored by arsenm on Jul 27 2020, 5:31 AM.

Details

Summary

I think these were added as a workaround for SelectionDAG lacking half
legalization support in the past. I think they should probably be
removed from the IR, but clang does still have a target control to
emit these instead of the native half fpext/fptrunc.

Diff Detail

Event Timeline

arsenm created this revision.Jul 27 2020, 5:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2020, 5:31 AM
t.p.northover accepted this revision.Jul 28 2020, 3:12 AM
t.p.northover added a subscriber: t.p.northover.

LGTM.

This revision is now accepted and ready to land.Jul 28 2020, 3:12 AM