aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2021-10-25 15:30:55 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2021-12-04 10:38:25 -0500
commitae0ba7dedd276c4cc983b61dabb5a8e7ae4a4c00 (patch)
tree1181f8d12712924cec878f422a6990d3f5c44885 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentee691970a9a85470948ada623c31f0ab8773617c (diff)
downloadllvm-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