[all-commits] [llvm/llvm-project] c46a88: [mlir][llvm] Add UnnamedAddr attribute to GlobalOp
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Mon Apr 19 18:45:34 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c46a88625d09a656f7be8778e0df3d8332b27346
https://github.com/llvm/llvm-project/commit/c46a88625d09a656f7be8778e0df3d8332b27346
Author: clementval <clementval at gmail.com>
Date: 2021-04-19 (Mon, 19 Apr 2021)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Dialect/LLVMIR/global.mlir
M mlir/test/Target/LLVMIR/import.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[mlir][llvm] Add UnnamedAddr attribute to GlobalOp
This patch add the UnnamedAddr attribute for the GlobalOp in the LLVM
dialect. The attribute is also handled to and from LLVM IR.
This is meant to be used in a follow up patch to lower OpenACC/OpenMP ops to
call to kmp and tgt runtime calls (D100678).
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D100677
More information about the All-commits
mailing list