[PATCH] D80283: [MLIR] Fix operand type in `from_extent_tensor` in the shape dialect

Stephan Herhut via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 20 03:45:33 PDT 2020


herhut added a subscriber: mravishankar.
herhut added a comment.

I believe we have some use cases where extent tensors are `i32` due to early lowering out of `index` type. @mravishankar might know how this is done in IREE. In the HLO dialect, we have the `ScalarsToDimensionTensor` op and that allows integer types and `index`.

In any case, the two ops should agree on their supported types.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80283





More information about the llvm-commits mailing list