[Mlir-commits] [mlir] [MLIR][NVVM] Return ISA compiler log via ObjectAttr properties (PR #176697)

Mehdi Amini llvmlistbot at llvm.org
Sat Jan 24 08:22:17 PST 2026


================
@@ -747,6 +771,10 @@ NVVMTargetAttrImpl::serializeToObject(Attribute attribute, Operation *module,
   if (isaToBinaryTimeInMs.has_value())
     module->setAttr("ISAToBinaryTimeInMs",
                     builder.getI64IntegerAttr(*isaToBinaryTimeInMs));
+  StringRef isaCompilerLog = serializer.getISACompilerLog();
+  if (!isaCompilerLog.empty())
+    module->setAttr("ISACompilerLog", builder.getStringAttr(isaCompilerLog));
----------------
joker-eph wrote:

Both solutions can co-exists.

And https://github.com/llvm/llvm-project/pull/170853 hasn't converged yet.

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


More information about the Mlir-commits mailing list