aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authormadhur13490 <Madhur.Amilkanthwar@amd.com>2021-03-25 07:25:51 +0000
committermadhur13490 <Madhur.Amilkanthwar@amd.com>2021-04-13 13:15:13 +0000
commit5682ae2fc6fedb0d2ab4467bafc58c93066f6e07 (patch)
tree7f93b1af651e6e9aea64c5c12260eab797538ddd /llvm/lib/CodeGen/StackProtector.cpp
parent0f42675c86fea64dcc94b71f280ab491db71b32f (diff)
downloadllvm-5682ae2fc6fedb0d2ab4467bafc58c93066f6e07.zip
llvm-5682ae2fc6fedb0d2ab4467bafc58c93066f6e07.tar.gz
llvm-5682ae2fc6fedb0d2ab4467bafc58c93066f6e07.tar.bz2
[AMDGPU] Set implicit arg attributes for indirect calls
This patch adds attributes corresponding to implicits to functions/kernels if 1. it has an indirect call OR 2. it's address is taken. Once such attributes are set, rest of the codegen would work out-of-box for indirect calls. This patch eliminates the potential overhead -fixed-abi imposes even though indirect functions calls are not used. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D99347
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions