[Mlir-commits] [mlir] [MLIR] Add callback functions for ModuleToObject (PR #116007)

Zichen Lu llvmlistbot at llvm.org
Thu Nov 14 06:45:09 PST 2024


================
@@ -215,6 +222,10 @@ std::optional<SmallVector<char, 0>> ModuleToObject::run() {
   }
   setDataLayoutAndTriple(*llvmModule);
 
+  if (initialLlvmIRCallback) {
+    initialLlvmIRCallback(*llvmModule);
+  }
----------------
MikaOvO wrote:

Fixed, thanks!

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


More information about the Mlir-commits mailing list