| Issue |
177725
|
| Summary |
[MLIR][LLVM] `!DIDerivedType`'s `flags` field is not imported in `mlir-translate`
|
| Labels |
mlir
|
| Assignees |
|
| Reporter |
Kuree
|
https://godbolt.org/z/374Khz4jT
Round-tripping using `mlir-translate` produces illegal LLVM.
```llvm
!15 = !DIDerivedType(tag: DW_TAG_variable, name: "MAX_SIZE", scope: !13, file: !1, line: 1, baseType: !11, flags: DIFlagPublic | DIFlagStaticMember)
```
Only shows up in MLIR as
```mlir
#di_derived_type = #llvm.di_derived_type<tag = DW_TAG_variable, name = "MAX_SIZE", baseType = #di_basic_type>
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs