[Mlir-commits] [flang] [mlir] [mlir][func] Refactor FuncToLLVM discardable attributes algorithm (PR #188232)

Mehdi Amini llvmlistbot at llvm.org
Thu Mar 26 03:30:53 PDT 2026


================
@@ -2066,7 +2066,14 @@ def LLVM_LLVMFuncOp : LLVM_Op<"func", [
       CArg<"SymbolRefAttr", "{}">:$comdat,
       CArg<"ArrayRef<NamedAttribute>", "{}">:$attrs,
       CArg<"ArrayRef<DictionaryAttr>", "{}">:$argAttrs,
-      CArg<"std::optional<uint64_t>", "{}">:$functionEntryCount)>
+      CArg<"std::optional<uint64_t>", "{}">:$functionEntryCount)>,
+
+      // new properties-based builder
----------------
joker-eph wrote:

Nit: "new" does not seem suitable for a code comment, it won't be new for long.

https://github.com/llvm/llvm-project/pull/188232


More information about the Mlir-commits mailing list