[all-commits] [llvm/llvm-project] 4fc514: [MLIR][LLVM] Fix import of dso_local attribute (#1...
Guojin via All-commits
all-commits at lists.llvm.org
Wed Jan 29 08:09:40 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fc514af516f9434bf5ba3de404943a1f92817f7
https://github.com/llvm/llvm-project/commit/4fc514af516f9434bf5ba3de404943a1f92817f7
Author: Guojin <he.guojin at gmail.com>
Date: 2025-01-29 (Wed, 29 Jan 2025)
Changed paths:
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/test/Target/LLVMIR/Import/function-attributes.ll
Log Message:
-----------
[MLIR][LLVM] Fix import of dso_local attribute (#124822)
The import of LLVM IR should use is isDSOLocal instead of
hasLocalLinkage to set the dso_local attribute.
Without this change, function definitions that mostly have external
linkage would be missing dso_local attribute during translation.
---------
Co-authored-by: Tobias Gysi <tobias.gysi at nextsilicon.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list