Manas 69db592f76
[mlir][arith] Disallow zero ranked tensors for select's condition
Zero ranked tensor (say tensor<i1>) when used for arith.select's condition,
crashes optimizer during bufferization. This patch puts a constraint on
condition to be either scalar or of matching shape as to its result.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D151270
2023-06-01 12:12:46 +05:30
..
2022-09-19 09:58:18 -07:00
2023-05-01 23:16:34 -07:00
2023-05-01 23:16:34 -07:00
2023-05-01 23:16:34 -07:00
2023-05-01 23:16:34 -07:00