This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Make v2i16/v2f16 legal on VI
ClosedPublic

Authored by arsenm on May 18 2018, 10:37 AM.

Details

Reviewers
rampitec
cfang
Summary

This usually results in better code. Fixes using
inline asm with short2, and also fixes having a different
ABI for function parameters between VI and gfx9.

Partially cleans up the mess used for lowering of the d16
operations. Making v4f16 legal will help clean this up more,
but this requires additional work.

Diff Detail

Event Timeline

arsenm created this revision.May 18 2018, 10:37 AM
This revision is now accepted and ready to land.May 18 2018, 1:15 PM
arsenm closed this revision.May 21 2018, 11:36 PM

r332953