Go to file
Stephan Herhut 9cbe5f2285 Constrain mhlo.const to static shaped tensors.
Constants of unknown shape cannot be materialized. In most cases, one likely wants to use a scalar constant and rely on broadcasting instead.

PiperOrigin-RevId: 324252475
2020-08-03 19:29:51 -07:00
include/mlir-hlo Constrain mhlo.const to static shaped tensors. 2020-08-03 19:29:51 -07:00
lib Add optional static registration for mhlo/lmhlo passes. 2020-08-03 19:29:40 -07:00
tests Constrain mhlo.const to static shaped tensors. 2020-08-03 19:29:51 -07:00
tools/mlir-hlo-opt More cleanup in mlir-hlo to prepare for the standalone build 2020-08-03 19:28:00 -07:00