aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2019-12-18 03:38:18 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-18 03:38:55 -0800
commit40ef46fba4a072065c04fa16ac9309b551fd7004 (patch)
tree414609c0a381ff6247b937435e0ca2ae95558d36 /mlir/lib/Transforms/LoopInvariantCodeMotion.cpp
parentc6c6a74d5557d1f373c3bb10fd8a383b0ae18182 (diff)
downloadllvm-40ef46fba4a072065c04fa16ac9309b551fd7004.zip
llvm-40ef46fba4a072065c04fa16ac9309b551fd7004.tar.gz
llvm-40ef46fba4a072065c04fa16ac9309b551fd7004.tar.bz2
Harden the requirements to memory attribution types in gpu.func
When memory attributions are present in `gpu.func`, require that they are of memref type and live in memoryspaces 3 and 5 for workgroup and private memory attributions, respectively. Adapt the conversion from the GPU dialect to the NVVM dialect to drop the private memory space from attributions as NVVM is able to model them as local `llvm.alloca`s in the default memory space. PiperOrigin-RevId: 286161763
Diffstat (limited to 'mlir/lib/Transforms/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions