llvm/mlir/include
Christopher Bate 535b507ba5 [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
2022-07-22 11:20:41 -06:00
..
mlir [mlir][Arithmetic] Add arith.delinearize_index operation 2022-07-22 11:20:41 -06:00
mlir-c [MLIR] Add function to create Float16 array attribute 2022-07-20 21:58:15 +00:00