Use the module location instead of unknown location if the imported
LLVM IR module does not have more precise debug information.
Additionally, use the diagMD function to print the metadata instead
of just the metadata kind if the import fails.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Target/LLVMIR/Import/import-failure.ll | ||
---|---|---|
1 | Should we also check if the module location was emitted in this test file? |
Should we also check if the module location was emitted in this test file?