diff options
author | Johannes de Fine Licht <johannes.definelicht@nextsilicon.com> | 2023-03-27 12:38:29 +0200 |
---|---|---|
committer | Johannes de Fine Licht <johannes.definelicht@nextsilicon.com> | 2023-03-27 10:52:03 +0000 |
commit | f737d4ad88073d59bdd4ca32ad19c4c7da76ce69 (patch) | |
tree | 3b8bd7a518beb94a819b6624d26bf5e6eb1fdc11 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 352d6fe1eb2214cae974c36ee0b1bbc2cc0f91e3 (diff) | |
download | llvm-f737d4ad88073d59bdd4ca32ad19c4c7da76ce69.zip llvm-f737d4ad88073d59bdd4ca32ad19c4c7da76ce69.tar.gz llvm-f737d4ad88073d59bdd4ca32ad19c4c7da76ce69.tar.bz2 |
[MLIR][LLVM] Extend argument/result/function attribute support.
Use a disallowlist approach to deselect attributes on arguments and
return values that are not yet supported, but allow the rest to be
present when inlining.
To achieve fast lookup in `isLegalToInline`, the set of unsupported
function attributes is cached on the inliner interface object during
construction. By using a set of StringAttrs this should just amount to a
pointer lookup.
Depends on D146633
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D146729
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions