diff options
author | Christopher Bate <cbate@nvidia.com> | 2022-09-16 16:11:46 -0600 |
---|---|---|
committer | Christopher Bate <cbate@nvidia.com> | 2022-09-19 14:02:45 -0600 |
commit | 4d27f06f9454a6733c3f801c8b992193702607b3 (patch) | |
tree | 18a2afd34be062e81a3c51449a9001ac76010275 /bolt/lib/Utils/CommandLineOpts.cpp | |
parent | e601e2524458dbe53a4fe5e64e3f1723e3a9ec25 (diff) | |
download | llvm-4d27f06f9454a6733c3f801c8b992193702607b3.zip llvm-4d27f06f9454a6733c3f801c8b992193702607b3.tar.gz llvm-4d27f06f9454a6733c3f801c8b992193702607b3.tar.bz2 |
[mlir][Tensor] Fix ExtractSliceFromReshape transform edge case
The transformation would fail if none of the sliced dimensions were
linearized by the producing `tensor.collapse_shape`. This is a trivial
edge case but it wasn't correctly tested. Fixes the issue and adds a test.
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D134088
Diffstat (limited to 'bolt/lib/Utils/CommandLineOpts.cpp')
0 files changed, 0 insertions, 0 deletions