diff options
| author | Ian Wood <ianwood2024@u.northwestern.edu> | 2025-08-19 12:31:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-19 19:31:30 +0000 |
| commit | 961b052e98bf547be0d2f655f276e209d2b68099 (patch) | |
| tree | 2c3e22b9d38083f2a78ae455d90413111fbdbd19 /lldb/test/API/python_api | |
| parent | 6609d5fb0c426a71b8a837db914803dcc40a84f6 (diff) | |
| download | llvm-961b052e98bf547be0d2f655f276e209d2b68099.tar.gz llvm-961b052e98bf547be0d2f655f276e209d2b68099.tar.bz2 llvm-961b052e98bf547be0d2f655f276e209d2b68099.zip | |
[mlir][tensor][NFC] Refactor common methods for bubbling extract_slice op (#153675)
Exposes the `tensor.extract_slice` reshaping logic in
`BubbleUpExpandShapeThroughExtractSlice` and
`BubbleUpCollapseShapeThroughExtractSlice` through two corresponding
utility functions. These compute the offsets/sizes/strides of an extract
slice after either collapsing or expanding.
This should also make it easier to implement the two other bubbling
cases: (1) the `collapse_shape` is a consumer or (2) the `expand_shape`
is a consumer.
---------
Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
