[clang] [llvm] [AMDGPU] Move AMDGPUAttributor earlier than AMDGPULowerKernelAttributes (PR #178028)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 27 06:16:17 PST 2026


================
@@ -876,8 +874,8 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
       });
 
   PB.registerPipelineEarlySimplificationEPCallback(
----------------
shiltian wrote:

> Can we get it to the same place as function-attrs<skip-non-recursive-function-attrs>, openmp-opt-cgscc?

Not where `openmp-opt-cgscc`, because it is inserted in the generic pass pipeline. I don't think we should insert anything into the generic pipeline.

https://github.com/llvm/llvm-project/pull/178028


More information about the llvm-commits mailing list