This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Overload return type of llvm.amdgcn.buffer.load.format
ClosedPublic

Authored by nhaehnle on Mar 17 2016, 3:02 PM.

Details

Summary

Allow the selection of BUFFER_LOAD_FORMAT_x and _XY. Do this now before
the frontend patches land in Mesa. Eventually, we may want to automatically
reduce the size of loads at the LLVM IR level, which requires such overloads,
and in some cases Mesa can generate them directly.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle updated this revision to Diff 50980.Mar 17 2016, 3:02 PM
nhaehnle retitled this revision from to AMDGPU: Overload return type of llvm.amdgcn.buffer.load.format.
nhaehnle updated this object.
nhaehnle added reviewers: tstellarAMD, arsenm.
nhaehnle added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Mar 18 2016, 8:23 AM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Mar 18 2016, 8:23 AM
This revision was automatically updated to reflect the committed changes.