Page MenuHomePhabricator

[AMDGPU] Implemented dwordx3 variants of buffer/tbuffer load/store intrinsics

Authored by tpr on Mar 4 2019, 7:16 AM.



On gfx6, a dwordx3 buffer load intrinsic is implemented as a dwordx4
instruction, and a dwordx3 buffer store intrinsic is not supported.
We need to support the dwordx3 load intrinsic because it is generated by
subtarget-unaware code in InstCombine.

Change-Id: I016729d8557b98a52f529638ae97c340a5922a4e

Diff Detail


Event Timeline

tpr created this revision.Mar 4 2019, 7:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2019, 7:16 AM
arsenm added inline comments.Mar 4 2019, 7:48 AM
60 ↗(On Diff #189146)

I would just merge these test files with the rest of the base intrinsic tests

tpr marked an inline comment as done.Mar 4 2019, 8:08 AM
tpr added inline comments.
60 ↗(On Diff #189146)

I didn't do that for symmetry with the store tests, which can't be merged because x3 is not supported at all in intrinsics on gfx6.

This revision is now accepted and ready to land.Mar 4 2019, 10:52 AM
This revision was automatically updated to reflect the committed changes.