diff options
author | jeanPerier <jperier@nvidia.com> | 2024-09-26 11:11:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 11:11:44 +0200 |
commit | d9250061e10b82f82d9833009f6565775578ee58 (patch) | |
tree | 3ccd8dcf1e221ed66a7a5377309f81ab8b6fcdbe /clang/lib/Sema/SemaCUDA.cpp | |
parent | 69ef3b102cc0893491efd37faa7b3e957ed90bef (diff) | |
download | llvm-d9250061e10b82f82d9833009f6565775578ee58.zip llvm-d9250061e10b82f82d9833009f6565775578ee58.tar.gz llvm-d9250061e10b82f82d9833009f6565775578ee58.tar.bz2 |
[flang] add fir.proc_attrs attributes to func.func (#110002)
BIND(C) ABI need care in the TargetRewrite pass. currently, we are not
able to accurately identify fun.func that are BIND(C) in FIR (the
fir.bindc_name is used in other contexts, like for program names).
This patch adds the fir.proc_attrs to func.func just like it was done
for calls recently. This replace the previous named attribute for
PURE/ELEMENTAL/RECURSIVE (note that RECURSIVE is changed to
NON_RECURSIVE, which brings more data since RECURSIVE is the default for
procedures that do not have explicit RECURSIVE/NON_RECUSRIVE
attributes).
Diffstat (limited to 'clang/lib/Sema/SemaCUDA.cpp')
0 files changed, 0 insertions, 0 deletions