[llvm] [AMDGPU] Split struct kernel arguments (PR #133786)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 12:14:19 PDT 2025
================
@@ -903,6 +904,7 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
if (Level != OptimizationLevel::O0) {
if (!isLTOPreLink(Phase)) {
AMDGPUAttributorOptions Opts;
+ MPM.addPass(AMDGPUSplitKernelArgumentsPass());
MPM.addPass(AMDGPUAttributorPass(*this, Opts, Phase));
----------------
shiltian wrote:
I don't think the attributor pass should be the right place to handle kernel arg preloading and IIUC it will be in a separate pass.
Here what I meant was to group the attributor related code together.
https://github.com/llvm/llvm-project/pull/133786
More information about the llvm-commits
mailing list