diff options
author | Tres Popp <tpopp@google.com> | 2021-01-27 17:28:14 +0100 |
---|---|---|
committer | Tres Popp <tpopp@google.com> | 2021-01-29 10:57:58 +0100 |
commit | 0c5e4a25ee232afd0ab21294dfe9ce290957aab6 (patch) | |
tree | 0cb9ed9fe67db31c89b60b22304e544f72256c84 /llvm/lib/Transforms/Utils/SplitModule.cpp | |
parent | 1c762a81d20f498a93c38c0f0b10ad7c18650422 (diff) | |
download | llvm-0c5e4a25ee232afd0ab21294dfe9ce290957aab6.zip llvm-0c5e4a25ee232afd0ab21294dfe9ce290957aab6.tar.gz llvm-0c5e4a25ee232afd0ab21294dfe9ce290957aab6.tar.bz2 |
[mlir] Prevent segfault in Tensor canonicalization
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 Revision: https://reviews.llvm.org/D95535
Diffstat (limited to 'llvm/lib/Transforms/Utils/SplitModule.cpp')
0 files changed, 0 insertions, 0 deletions