[PATCH] D16834: AMDGPU: Make max workgroup size settable by subtarget features
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 2 17:55:23 PST 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
This generates 32 subtarget features for each possible multiple
of the wave size. The attribute is named +max-work-group-size=N.
The use of an equal sign might be weird because no other target
seems to do this, but it is prettier.
http://reviews.llvm.org/D16834
Files:
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
test/CodeGen/AMDGPU/max-workgroup-size-attr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16834.46731.patch
Type: text/x-patch
Size: 7782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160203/7396aa74/attachment.bin>
More information about the llvm-commits
mailing list