This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/SI: add llvm.amdgcn.image.atomic.* intrinsics
ClosedPublic

Authored by nhaustov on Feb 18 2016, 10:37 AM.

Details

Summary

These correspond to IMAGE_ATOMIC_* and are going to be used by Mesa for the
GL_ARB_shader_image_load_store extension.

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle updated this revision to Diff 48356.Feb 18 2016, 10:37 AM
nhaehnle retitled this revision from to AMDGPU/SI: add llvm.amdgcn.image.atomic.* intrinsics.
nhaehnle updated this object.
nhaehnle added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Feb 24 2016, 6:56 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Feb 24 2016, 6:56 PM
nhaustov commandeered this revision.Feb 26 2016, 2:01 AM
nhaustov added a reviewer: nhaehnle.
nhaustov added a subscriber: nhaustov.

This change needs to be updated after http://reviews.llvm.org/D17574. Will update this review with proposed changes.

nhaustov updated this revision to Diff 49167.Feb 26 2016, 2:02 AM
nhaustov edited edge metadata.

AMDGPU/SI: add llvm.amdgcn.image.atomic.* intrinsics

Update after assembler changes.

These correspond to IMAGE_ATOMIC_* and are going to be used by Mesa for the
GL_ARB_shader_image_load_store extension.

nhaustov updated this revision to Diff 49171.Feb 26 2016, 3:11 AM
  • Fix opcode.
  • Fixed image atomic conversion and added tests.
This revision was automatically updated to reflect the committed changes.