arsenm added inline comments. ================ Comment at: lib/CodeGen/CGCall.cpp:1601 @@ +1600,3 @@ + if (CodeGenOpts.AMDGPUToolsInsertNopsOpt) + FuncAttrs.addAttribute("amdgpu_tools_insert_nops"); + if (CodeGenOpts.AMDGPUToolsNumReservedVGPROpt) ---------------- Yes http://reviews.llvm.org/D17764