This segfault could occur from out of bounds accesses when simplifying
tensor.extract with a constant index and a tensor created by
tensor.from_elements.
This IR is not necesarilly invalid as it might conditionally be
never executed.
Differential D95535
[mlir] Prevent segfault in Tensor canonicalization tpopp on Jan 27 2021, 8:30 AM. Authored by
Details This segfault could occur from out of bounds accesses when simplifying This IR is not necesarilly invalid as it might conditionally be
Diff Detail
Unit Tests |
I don't understand this check, it reads backward to me right now?