[all-commits] [llvm/llvm-project] 6594d5: [MLIR] Add `index_to_size` and `size_to_index` to ...
frgossen via All-commits
all-commits at lists.llvm.org
Thu May 28 06:58:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6594d54571ee5887f031555a7660b8d8e74194d3
https://github.com/llvm/llvm-project/commit/6594d54571ee5887f031555a7660b8d8e74194d3
Author: Frederik Gossen <frgossen at google.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/test/Dialect/Shape/canonicalize.mlir
Log Message:
-----------
[MLIR] Add `index_to_size` and `size_to_index` to the shape dialect
Add the two conversion operations `index_to_size` and `size_to_index` to the
shape dialect.
This facilitates the conversion of index types between the shape and the
standard dialect.
Differential Revision: https://reviews.llvm.org/D80280
More information about the All-commits
mailing list