[Mlir-commits] [mlir] [MLIR][LLVM] Add ProfileSummary module flag support (PR #138070)

Christian Ulmann llvmlistbot at llvm.org
Fri May 2 00:03:26 PDT 2025


================
@@ -554,13 +554,277 @@ static Attribute convertCGProfileModuleFlagValue(ModuleOp mlirModule,
   return ArrayAttr::get(mlirModule->getContext(), cgProfile);
 }
 
+static llvm::MDTuple *getTwoElementMDTuple(ModuleOp mlirModule,
----------------
Dinistro wrote:

Nit: Some of these functions would benefit from small doc strings, I think.

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


More information about the Mlir-commits mailing list