summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2019-12-17 12:09:33 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-17 12:10:04 -0800
commit42b3fe833502390d44d2df126048c8310dffa9bd (patch)
tree37fd5b3b94a01356cc3c00c1c426b3ee649fb924 /mlir/lib/Dialect/VectorOps/VectorTransforms.cpp
parent62f498dcb75b0a2086d5426c803c29a080badddb (diff)
downloadbcm5719-llvm-42b3fe833502390d44d2df126048c8310dffa9bd.tar.gz
bcm5719-llvm-42b3fe833502390d44d2df126048c8310dffa9bd.zip
Make it possible to override the lowering of MemRef to the LLVM dialect. NFC.
The lowering of MemRef types to the LLVM dialect is connected to the underlying runtime representation of structured memory buffers. It has changed several times in the past and reached the current state of a LLVM structured-typed descriptor containing two pointers and all sizes. In several reported use cases, a different, often simpler, lowering scheme is required. For example, lowering statically-shaped memrefs to bare LLVM pointers to simplify aliasing annotation. Split the pattern population functions into those include memref-related operations and the remaining ones. Users are expected to extend TypeConverter::convertType to handle the memref types differently. PiperOrigin-RevId: 286030610
Diffstat (limited to 'mlir/lib/Dialect/VectorOps/VectorTransforms.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud