This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Fix v3f16 handling for getresinfo
ClosedPublic

Authored by Flakebi on Sep 24 2020, 2:41 AM.

Details

Summary

v3f32 should not be expanded to v4f32. getresinfo with a dmask of 7
created an image sample with a v3f32 return value, which was bitcasted
to a v4f32 in constructRetValue.

Diff Detail

Event Timeline

Flakebi created this revision.Sep 24 2020, 2:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2020, 2:41 AM
Flakebi requested review of this revision.Sep 24 2020, 2:41 AM
arsenm accepted this revision.Sep 24 2020, 6:37 AM
This revision is now accepted and ready to land.Sep 24 2020, 6:37 AM
This revision was automatically updated to reflect the committed changes.