diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2019-06-17 17:47:28 +0000 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2019-06-17 17:47:28 +0000 |
commit | ad04e7ad42663161ebc164cb0098826b38a4e0d2 (patch) | |
tree | e43faf244c4be39838c6d877485adf7e9defd667 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | b8e8b1769ffa28fb09eb5e5e761840ece5531ba5 (diff) | |
download | llvm-ad04e7ad42663161ebc164cb0098826b38a4e0d2.zip llvm-ad04e7ad42663161ebc164cb0098826b38a4e0d2.tar.gz llvm-ad04e7ad42663161ebc164cb0098826b38a4e0d2.tar.bz2 |
[AMDGPU] Pass to propagate ABI attributes from kernels to the functions
The pass works in two modes:
Mode 1: Just set attributes starting from kernels. This can work at
the very beginning of opt and llc pipeline, but cannot clone functions
because it must be a function pass.
Mode 2: Actually clone functions for new attributes. This can only work
after all function passes in the opt pipeline because it has to be a
module pass.
Differential Revision: https://reviews.llvm.org/D63208
llvm-svn: 363586
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions