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

Zichen Lu llvmlistbot at llvm.org
Tue Jan 20 01:19:30 PST 2026


================
@@ -775,6 +795,11 @@ NVVMTargetAttrImpl::createObject(Attribute attribute, Operation *module,
     }
   }
 
+  if (module->hasAttr("ISACompilerLog")) {
+    StringAttr attr = llvm::dyn_cast<StringAttr>(module->getAttr("ISACompilerLog"));
----------------
MikaOvO wrote:

This is coming from the above change:
``` 
if (!isaCompilerLog.empty())
    module->setAttr("ISACompilerLog", builder.getStringAttr(isaCompilerLog));
```

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


More information about the Mlir-commits mailing list