[PATCH] D80280: [MLIR] Add `index_to_size` and `size_to_index` to the shape dialect

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 27 14:11:49 PDT 2020


rriddle added inline comments.


================
Comment at: mlir/lib/Dialect/Shape/IR/Shape.cpp:283
+OpFoldResult IndexToSizeOp::fold(ArrayRef<Attribute> operands) {
+
+  // Constant values of both types, `shape.size` and `index`, are represented as
----------------
nit: Remove newline here and below.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80280/new/

https://reviews.llvm.org/D80280





More information about the llvm-commits mailing list