[all-commits] [llvm/llvm-project] 7b70af: [AMDGPU] Add IR lowering changes for preloaded ker...
Austin Kerbow via All-commits
all-commits at lists.llvm.org
Mon Sep 25 08:54:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b70af297a255167b6d4e03a80626965d4739011
https://github.com/llvm/llvm-project/commit/7b70af297a255167b6d4e03a80626965d4739011
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2023-09-25 (Mon, 25 Sep 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
A llvm/test/CodeGen/AMDGPU/preload-kernargs-IR-lowering.ll
Log Message:
-----------
[AMDGPU] Add IR lowering changes for preloaded kernargs
Preloaded kernel arguments should not be lowered in the IR pass
AMDGPULowerKernelArguments. Therefore it's necessary to calculate the
total number of user SGPRs that are available for preloading and how
many SGPRs would be required to preload each argument to determine
whether we should skip lowering i.e. the argument will be preloaded
instead.
Reviewed By: bcahoon
Differential Revision: https://reviews.llvm.org/D156853
More information about the All-commits
mailing list