[Mlir-commits] [flang] [mlir] [flang][mlir] Add llvm.ident metadata when compiling with flang (PR #102506)
Christian Ulmann
llvmlistbot at llvm.org
Fri Aug 9 02:07:25 PDT 2024
================
@@ -1814,6 +1814,19 @@ LogicalResult ModuleTranslation::createTBAAMetadata() {
return success();
}
+LogicalResult ModuleTranslation::createIdentMetadata() {
+ if (auto attr = mlirModule->getAttrOfType<mlir::StringAttr>("llvm.ident")) {
----------------
Dinistro wrote:
```suggestion
if (auto attr = mlirModule->getAttrOfType<StringAttr>("llvm.ident")) {
```
https://github.com/llvm/llvm-project/pull/102506
More information about the Mlir-commits
mailing list