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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to