[PATCH] D10831: Attach attribute "trap-func-name" to IR function
Akira Hatanaka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 21:42:57 PST 2018
ahatanak added a comment.
AMDGPUAnnotateKernelFeatures::addFeatureAttributes looks for an llvm.trap instruction and adds attribute "amdgpu-queue-ptr" to the function if it finds one.
Other than that, it looks like your idea would work too.
Repository:
rL LLVM
https://reviews.llvm.org/D10831
More information about the llvm-commits
mailing list