summaryrefslogtreecommitdiffstats
path: root/mlir/lib/IR/Builders.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2019-12-02 03:27:38 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-02 03:28:10 -0800
commitd5e627f84b440cb4dd30802930629ea970dd4342 (patch)
tree13d3a929445b6e260759eb3ecdc92a247225c08f /mlir/lib/IR/Builders.cpp
parent2235333d5878393ca4d43891184c3f58f71edeb5 (diff)
downloadbcm5719-llvm-d5e627f84b440cb4dd30802930629ea970dd4342.tar.gz
bcm5719-llvm-d5e627f84b440cb4dd30802930629ea970dd4342.zip
Introduce Linkage attribute to the LLVM dialect
LLVM IR supports linkage on global objects such as global variables and functions. Introduce the Linkage attribute into the LLVM dialect, backed by an integer storage. Use this attribute on LLVM::GlobalOp and make it mandatory. Implement parsing/printing of the attribute and conversion to LLVM IR. See tensorflow/mlir#277. PiperOrigin-RevId: 283309328
Diffstat (limited to 'mlir/lib/IR/Builders.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud