Go to file
Robert Suderman e1651b6090 Canonicalize multidimensional iota to use broadcast
There is no reason to have a multidimensional iota for codegen.
This should be canonicalized to a single dimensional iota followed
by a broadcast. Changing iota to on a single dimension  and a broadcast
substantially simplifies implementing iota operations.

PiperOrigin-RevId: 320095470
2020-07-30 22:32:54 +00:00
include/mlir-hlo Canonicalize multidimensional iota to use broadcast 2020-07-30 22:32:54 +00:00
lib Canonicalize multidimensional iota to use broadcast 2020-07-30 22:32:54 +00:00
tests Canonicalize multidimensional iota to use broadcast 2020-07-30 22:32:54 +00:00