diff options
| author | Nicolas Vasilache <ntv@google.com> | 2019-11-06 15:05:47 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-11-06 15:06:16 -0800 |
| commit | 7f6c6084b53653aad4ede0620725fddf5bd30beb (patch) | |
| tree | 53e133938e9ac9d21cfa27f43a2de4a78752897a /mlir/lib/IR/Region.cpp | |
| parent | 1efc5119d9297e208f479cdac3b81dae865f0e86 (diff) | |
| download | bcm5719-llvm-7f6c6084b53653aad4ede0620725fddf5bd30beb.tar.gz bcm5719-llvm-7f6c6084b53653aad4ede0620725fddf5bd30beb.zip | |
Add lowering of std.view to LLVM
This CL ports the lowering of linalg.view to the newly introduced std.view.
Differences in implementation relate to std.view having slightly different semantics:
1. a static or dynamic offset can be specified.
2. the size of the (contiguous) shape is passed instead of a range.
3. static size and stride information is extracted from the memref type rather than the range.
Besides these differences, lowering behaves the same.
A future CL will update Linalg to use this unified infrastructure.
PiperOrigin-RevId: 278948853
Diffstat (limited to 'mlir/lib/IR/Region.cpp')
0 files changed, 0 insertions, 0 deletions

