diff options
| author | Alex Zinenko <zinenko@google.com> | 2019-08-12 06:10:29 -0700 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-08-12 06:10:54 -0700 |
| commit | 2dd38b09c111ff6963c5c592c76e9b771a8f691f (patch) | |
| tree | 5fa1787c102a6901b7df5d550af3ab54c2c7fb62 /mlir/lib/Transforms/LoopTiling.cpp | |
| parent | 252ada493276eace3e23802fb70ff3c7be53837d (diff) | |
| download | bcm5719-llvm-2dd38b09c111ff6963c5c592c76e9b771a8f691f.tar.gz bcm5719-llvm-2dd38b09c111ff6963c5c592c76e9b771a8f691f.zip | |
LLVM dialect: introduce llvm.addressof to access globals
This instruction is a local counterpart of llvm.global that takes a symbol
reference to a global and produces an SSA value containing the pointer to it.
Used in combination, these two operations allow one to use globals with other
operations expecting SSA values. At a cost of IR indirection, we make sure the
functions don't implicitly capture the surrounding SSA values and remain
suitable for parallel processing.
PiperOrigin-RevId: 262908622
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
0 files changed, 0 insertions, 0 deletions

