[Mlir-commits] [mlir] [MLIR] Adding 'inline_hint' attribute on LLMV::CallOp (PR #134582)
Tobias Gysi
llvmlistbot at llvm.org
Mon Apr 7 23:46:55 PDT 2025
================
@@ -787,7 +787,8 @@ def LLVM_CallOp : LLVM_MemAccessOpBase<"call",
OptionalAttr<DictArrayAttr>:$arg_attrs,
OptionalAttr<DictArrayAttr>:$res_attrs,
OptionalAttr<UnitAttr>:$no_inline,
- OptionalAttr<UnitAttr>:$always_inline);
+ OptionalAttr<UnitAttr>:$always_inline,
+ OptionalAttr<UnitAttr>:$inline_hint);
----------------
gysit wrote:
Good point, @JDPailleux if you change `OptionalAttr<UnitAttr>` to just `UnitAttr` can you do it on the entire operation? `convergent`, `no_unwind`, etc should all be convertible to `UnitAttr`.
https://github.com/llvm/llvm-project/pull/134582
More information about the Mlir-commits
mailing list