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)
commitc56d2afc63540f2e85fee98617bea8d63bc713d4
tree9aaa86731c7fabb5c509270821a88ba2da3bd31d
parentdb5a779f2fcb30838bd38ee8744695743d7e050d
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

llvm-svn: 355574
llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll
llvm/test/CodeGen/AMDGPU/uniform-work-group-attribute-missing.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/uniform-work-group-nested-function-calls.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/uniform-work-group-prevent-attribute-propagation.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/uniform-work-group-propagate-attribute.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/uniform-work-group-recursion-test.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/uniform-work-group-test.ll [new file with mode: 0644]