aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-04-14 13:01:53 +0200
committerAlex Zinenko <zinenko@google.com>2020-04-15 10:58:32 +0200
commit129cf84e69537ae5c184550f94be18da738d9261 (patch)
tree2489fe18ad4edaeef5042dcf0f91714e8d42d5d5 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent04b5274ede3ebc1de98c47e34cb762bae474696b (diff)
downloadllvm-129cf84e69537ae5c184550f94be18da738d9261.zip
llvm-129cf84e69537ae5c184550f94be18da738d9261.tar.gz
llvm-129cf84e69537ae5c184550f94be18da738d9261.tar.bz2
[mlir] LLVM dialect: support globals without linkage keyword, assuming 'external'
Similarly to actual LLVM IR, and to `llvm.mlir.func`, allow the custom syntax of `llvm.mlir.global` to omit the linkage keyword. If omitted, the linkage is assumed to be external. This makes the modeling of globals in the LLVM dialect more consistent, both within the dialect and with LLVM IR. Differential Revision: https://reviews.llvm.org/D78096
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions