[Mlir-commits] [mlir] [MLIR][LLVMIR] Add module flags support (PR #130679)

Bruno Cardoso Lopes llvmlistbot at llvm.org
Fri Mar 14 12:07:54 PDT 2025


================
@@ -517,6 +517,38 @@ void ModuleImport::addDebugIntrinsic(llvm::CallInst *intrinsic) {
   debugIntrinsics.insert(intrinsic);
 }
 
+LogicalResult ModuleImport::convertModuleFlagsMetadata() {
+  SmallVector<llvm::Module::ModuleFlagEntry, 4> llvmModuleFlags;
----------------
bcardosolopes wrote:

I've seen that even the most simple translation units have 4+ of those when targeting our codebase, but didn't do any deep experiment. Removed the 4 for now.

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


More information about the Mlir-commits mailing list