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

Zichen Lu llvmlistbot at llvm.org
Wed Jan 21 21:22:37 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));
----------------
MikaOvO wrote:

Updated. Thanks! I think https://github.com/llvm/llvm-project/pull/170853 might be another solution.

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


More information about the Mlir-commits mailing list