This commit introduces the DINamespaceAttr to model LLVM's DINamespace metadata.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp | ||
---|---|---|
49 | nit: let's try to order this alphabetical? I think null type and namespace are now not in alphabetical order. | |
66 | nit: same here. | |
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp | ||
2763 | nit: same here. | |
mlir/lib/Target/LLVMIR/DebugImporter.cpp | ||
110–112 | Can this happen after adding the namespace metadata? | |
120 | Since the scope of the namespace is optional I would probably just return a namespace with the scope set to null in this case to stop the error propagation. | |
mlir/lib/Target/LLVMIR/DebugTranslation.cpp | ||
244 | nit: let's also reorder to make it alphabetical again. |
mlir/lib/Target/LLVMIR/DebugImporter.cpp | ||
---|---|---|
110–112 | This is not entirely clear. The downstream testing application with 60k lines of LLVM IR does not reach this case, so I'll revert this part. |
nit: let's try to order this alphabetical? I think null type and namespace are now not in alphabetical order.