diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2021-03-08 15:23:28 +0100 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2021-03-08 16:48:05 +0100 |
commit | 42c195f0ec8f2d9236b237c5ad2c6f3ca9b4184c (patch) | |
tree | 02dafb3934b2f814c0bbb9bb168e335dc37a3f1b /llvm/lib/Object/WasmObjectFile.cpp | |
parent | c4542005dae203dc4cb4e4be22628d4e24b4d5b6 (diff) | |
download | llvm-42c195f0ec8f2d9236b237c5ad2c6f3ca9b4184c.zip llvm-42c195f0ec8f2d9236b237c5ad2c6f3ca9b4184c.tar.gz llvm-42c195f0ec8f2d9236b237c5ad2c6f3ca9b4184c.tar.bz2 |
[mlir][Shape] Allow shape.split_at to return extent tensors and lower it to std.subtensor
split_at can return an error if the split index is out of bounds. If the
user knows that the index can never be out of bounds it's safe to use
extent tensors. This has a straight-forward lowering to std.subtensor.
Differential Revision: https://reviews.llvm.org/D98177
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions