[all-commits] [llvm/llvm-project] f737d4: [MLIR][LLVM] Extend argument/result/function attri...
Johannes de Fine Licht via All-commits
all-commits at lists.llvm.org
Mon Mar 27 03:53:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f737d4ad88073d59bdd4ca32ad19c4c7da76ce69
https://github.com/llvm/llvm-project/commit/f737d4ad88073d59bdd4ca32ad19c4c7da76ce69
Author: Johannes de Fine Licht <johannes.definelicht at nextsilicon.com>
Date: 2023-03-27 (Mon, 27 Mar 2023)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/test/Dialect/LLVMIR/inlining.mlir
Log Message:
-----------
[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
More information about the All-commits
mailing list