llvm-project/mlir/tools
Feng Liu c489f50e6f Add a trait to set the result type by attribute
Before this CL, the result type of the pattern match results need to be as same
as the first operand type, operand broadcast type or a generic tensor type.
This CL adds a new trait to set the result type by attribute. For example, the
TFL_ConstOp can use this to set the output type to its value attribute.

PiperOrigin-RevId: 240441249
2019-03-29 17:43:06 -07:00
..
mlir-cpu-runner ExecutionEngine OptUtils: support -On flags in string-based initialization 2019-03-29 16:49:44 -07:00
mlir-opt Cleanups for OSS build. 2019-03-29 17:23:23 -07:00
mlir-tblgen Add a trait to set the result type by attribute 2019-03-29 17:43:06 -07:00
mlir-translate Continue pushing const out of the IR types - removing the notion of a 'const 2019-03-29 17:27:26 -07:00