[all-commits] [llvm/llvm-project] 358988: [mlir][llvm] Improve error messages during LLVM IR...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Tue Jan 10 08:17:58 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3589885d82b6a835a783304111400ec3bb167a6b
https://github.com/llvm/llvm-project/commit/3589885d82b6a835a783304111400ec3bb167a6b
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2023-01-10 (Tue, 10 Jan 2023)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.h
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Target/LLVMIR/Import/basic.ll
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/Import/import-failure.ll
Log Message:
-----------
[mlir][llvm] Improve error messages during LLVM IR import.
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.
Reviewed By: definelicht
Differential Revision: https://reviews.llvm.org/D141357
More information about the All-commits
mailing list