This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: Support data types other than V4f32 in image intrinsics
ClosedPublic

Authored by cfang on Nov 9 2016, 2:02 PM.

Details

Summary

Extend image intrinsics to support data types of V1F32 and V2F32.

TODO: we should define a mapping table to change the opcode for data type of V2F32 but just one channel is active,
even though such case should be very rare.

Diff Detail

Repository
rL LLVM

Event Timeline

cfang updated this revision to Diff 77390.Nov 9 2016, 2:02 PM
cfang retitled this revision from to AMDGPU/SI: Support data types other than V4f32 in image intrinsics.
cfang updated this object.
cfang added reviewers: tstellarAMD, arsenm, kzhuravl.
cfang added subscribers: arsenm, llvm-commits.
tstellarAMD accepted this revision.Nov 11 2016, 12:17 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Nov 11 2016, 12:17 PM
This revision was automatically updated to reflect the committed changes.