tstellarAMD added inline comments. ================ Comment at: include/clang/Basic/AttrDocs.td:969-973 @@ +968,7 @@ + +Clang supports the ``__attribute__((amdgpu_tools_num_reserved_vgpr(<num>)))`` +attribute on AMD Southern Islands GPUs and later. If specified, it causes AMD +GPU Backend to reserve ``<num>`` number of vector registers and do not use those +registers throughout kernel function execution. Index of the first reserved +vector register is recorded in the ``amd_kernel_code_t``. + ---------------- What does the value of this attribute mean? If I pass 16, does it reserve VGPRS 0 - 15 or VGPRS 240 - 255 ? Can you clarify this in the documentation?
http://reviews.llvm.org/D17764 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits