[PATCH] D13867: AMDGPU: Add pass to detect used kernel features
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 06:53:11 PDT 2015
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
Mark kernels that use certain features that require user
SGPRs to support with kernel attributes. We need to know
before instruction selection begins because it impacts
the kernel calling convention lowering.
For now this only detects the workitem intrinsics.
http://reviews.llvm.org/D13867
Files:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/CMakeLists.txt
test/CodeGen/AMDGPU/annotate-kernel-features.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13867.37749.patch
Type: text/x-patch
Size: 13910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151019/d76b49c1/attachment.bin>
More information about the llvm-commits
mailing list