[all-commits] [llvm/llvm-project] 662876: [mlir][llvm] Add visibility attribute
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Sun Mar 12 01:48:35 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6628767e477fbc9d71dedb1ee510da72c713cac3
https://github.com/llvm/llvm-project/commit/6628767e477fbc9d71dedb1ee510da72c713cac3
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-03-12 (Sun, 12 Mar 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Dialect/LLVMIR/func.mlir
M mlir/test/Dialect/LLVMIR/global.mlir
M mlir/test/Target/LLVMIR/Import/function-attributes.ll
M mlir/test/Target/LLVMIR/Import/global-variables.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[mlir][llvm] Add visibility attribute
This commit introduces the LLVM's visibility attribute and adds it to
both globals and functions.
Furthermore, this commit ensures that "thread_local" is printed in the
correct place and adds a test for that.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D145790
More information about the All-commits
mailing list