]> granicus.if.org Git - llvm/commit
AMDGPU: Handle "uniform-work-group-size" attribute (fix for RADV)
authorAakanksha Patil <aakanksha555@gmail.com>
Thu, 7 Mar 2019 00:54:04 +0000 (00:54 +0000)
committerAakanksha Patil <aakanksha555@gmail.com>
Thu, 7 Mar 2019 00:54:04 +0000 (00:54 +0000)
commit67bb6a3b713febb11dec4e0b51f767d00777735c
treec3919f7f3539cdb54036833c91e4b495561a5460
parentdb98fa3b701a4ab35f26a4b946248bb21615a9f2
AMDGPU: Handle "uniform-work-group-size" attribute (fix for RADV)

A previous patch for "uniform-work-group-size" attribute was found to break
some RADV and possibly radeon SI tests and had to be retracted.
This patch fixes that.

Differential Revision: http://reviews.llvm.org/D58993

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
test/CodeGen/AMDGPU/uniform-work-group-attribute-missing.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/uniform-work-group-nested-function-calls.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/uniform-work-group-propagate-attribute.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/uniform-work-group-recursion-test.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/uniform-work-group-test.ll [new file with mode: 0644]