[all-commits] [llvm/llvm-project] 0fde03: [mlir][llvm] Modernize the import of LLVM IR globals.
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Wed Jan 4 08:15:00 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0fde03cb7fdc29bedf2068e5702c36fd600c64cc
https://github.com/llvm/llvm-project/commit/0fde03cb7fdc29bedf2068e5702c36fd600c64cc
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Target/LLVMIR/Import/global-variables.ll
M mlir/test/Target/LLVMIR/Import/import-failure.ll
Log Message:
-----------
[mlir][llvm] Modernize the import of LLVM IR globals.
Return failure if the import of a global variable fails and add a
test case to check the emitted error message. Additionally, convert
the globals in iteration order and do not process them recursively
when translating a constant expression referencing it. Additionally,
use the module location rather unknown location.
Reviewed By: Dinistro
Differential Revision: https://reviews.llvm.org/D140966
More information about the All-commits
mailing list