================
@@ -1623,6 +1624,12 @@ mlir::LogicalResult
CIRToLLVMFuncOpLowering::matchAndRewrite(
assert(!cir::MissingFeatures::opFuncMultipleReturnVals());
+ // Add inline_kind attribute with "cir." prefix so amendOperation handles it
+ if (auto inlineKind = op.getInlineKind()) {
----------------
andykaylor wrote:
Why not just set the `no_inline`, `always_inline`, or `inline_hint` attribute
here? It looks like LLVMFuncOp doesn't have an `inline_hint` attribute at the
moment, but that should be fixed.
https://github.com/llvm/llvm-project/pull/162866
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits