This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix not using v_cvt_f16_[iu]16
ClosedPublic

Authored by arsenm on Sep 30 2019, 1:09 PM.

Details

Reviewers
rampitec
Summary

We weren't treating i16->f16 casts as legal on targets with these
instructions, and always using a pair of casts through i32.

Diff Detail

Event Timeline

arsenm created this revision.Sep 30 2019, 1:09 PM
This revision is now accepted and ready to land.Sep 30 2019, 1:14 PM
arsenm updated this revision to Diff 236571.Jan 7 2020, 6:01 AM

Fix regression in i8->f64 cases

Herald added a project: Restricted Project. · View Herald TranscriptJan 7 2020, 6:01 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
arsenm requested review of this revision.Jan 7 2020, 6:01 AM
This revision is now accepted and ready to land.Jan 7 2020, 10:44 AM