diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-10-25 15:30:55 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2021-12-04 10:38:25 -0500 |
commit | ae0ba7dedd276c4cc983b61dabb5a8e7ae4a4c00 (patch) | |
tree | 1181f8d12712924cec878f422a6990d3f5c44885 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | ee691970a9a85470948ada623c31f0ab8773617c (diff) | |
download | llvm-ae0ba7dedd276c4cc983b61dabb5a8e7ae4a4c00.zip llvm-ae0ba7dedd276c4cc983b61dabb5a8e7ae4a4c00.tar.gz llvm-ae0ba7dedd276c4cc983b61dabb5a8e7ae4a4c00.tar.bz2 |
AMDGPU: Optimize out implicit kernarg argument allocation if unused
We already annotate whether llvm.amdgcn.implicitarg.ptr is known to be
unused. Start using it to avoid allocating the implicit arguments if
unneeded.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions