[llvm] [AMDGPU] Split struct kernel arguments (PR #133786)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 13:00:29 PDT 2025
================
@@ -935,6 +937,7 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
PM.addPass(InternalizePass(mustPreserveGV));
PM.addPass(GlobalDCEPass());
}
+ PM.addPass(AMDGPUSplitKernelArgumentsPass());
----------------
shiltian wrote:
Also, I think we might want to think carefully where to add the pass. Will it potentially benefit other passes? It looks like for now it is added to where the attributor pass runs, which is actually almost the end of the pipeline. Is it expected?
https://github.com/llvm/llvm-project/pull/133786
More information about the llvm-commits
mailing list