diff options
| author | Christopher Bate <cbate@nvidia.com> | 2022-07-20 14:39:30 -0600 |
|---|---|---|
| committer | Christopher Bate <cbate@nvidia.com> | 2022-07-22 11:20:41 -0600 |
| commit | 535b507ba58e8b5f604d53ffc961be1456d229a7 (patch) | |
| tree | 7f6b6cecca3496ecc4aaf0030f135106c3f351cf /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | c53ee73b487597a25e4aa41c8e2fc7d46395b0e7 (diff) | |
[mlir][Arithmetic] Add `arith.delinearize_index` operation
This change adds a new DelinearizeIndexOp to the `arith` dialect. The
operation accepts an `index` type as well as a basis (array of index
values) representing how the index should be decomposed into a
multi-index. The decomposition obeys a canonical semantic that treats
the final basis element as "fastest varying" and the first basis element
as "slowest varying". A naive lowering of the operation using a sequence
of `arith.divui` and `arith.remui` operations is also given.
Differential Revision: https://reviews.llvm.org/D129697
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
