[Mlir-commits] [mlir] [MLIR][NVVM] Return ISA compiler log via ObjectAttr properties (PR #176697)
Mehdi Amini
llvmlistbot at llvm.org
Wed Jan 21 06:06:29 PST 2026
================
@@ -775,6 +803,12 @@ NVVMTargetAttrImpl::createObject(Attribute attribute, Operation *module,
}
}
+ if (module->hasAttr("ISACompilerLog")) {
+ StringAttr attr =
+ llvm::dyn_cast<StringAttr>(module->getAttr("ISACompilerLog"));
----------------
joker-eph wrote:
```suggestion
if (StringAttr attr =
llvm::dyn_cast_or_null<StringAttr>(module->getDiscardableAttr("ISACompilerLog"));
```
https://github.com/llvm/llvm-project/pull/176697
More information about the Mlir-commits
mailing list