This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Improve hack for packing conversion ops
ClosedPublic

Authored by arsenm on Jul 31 2018, 7:55 AM.

Details

Summary

Mutate the node type during selection when it
doesn't matter. This avoids an intermediate bitcast
node on targets with legal i16/f16.

Also fixes missing output modifiers on v_cvt_pkrtz_f32_f16,
which I assume are OK.

Diff Detail

Event Timeline

arsenm created this revision.Jul 31 2018, 7:55 AM
This revision is now accepted and ready to land.Jul 31 2018, 9:19 AM
arsenm closed this revision.Aug 1 2018, 1:14 PM

r338619