summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorIan Wood <ianwood2024@u.northwestern.edu>2025-06-11 14:34:02 -0700
committerGitHub <noreply@github.com>2025-06-11 14:34:02 -0700
commit6f2ba4712f17d7c82228a5b705570571e13a3832 (patch)
tree6ba9a947a2142e10a74bd62f00bcd7276a1fea78 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7838fc0cd3fbe578d9554fdcd3198c2ba3616bcc (diff)
[mlir] Fix ComposeExpandOfCollapseOp for dynamic case (#142663)
Changes `findCollapsingReassociation` to return nullopt in all cases where source shape has `>=2` dynamic dims. `expand(collapse)` can reshape to in any valid output shape but a collapse can only collapse contiguous dimensions. When there are `>=2` dynamic dimensions it is impossible to determine if it can be simplified to a collapse or if it is preforming a more advanced reassociation. This problem was uncovered by https://github.com/llvm/llvm-project/pull/137963 --------- Signed-off-by: Ian Wood <ianwood2024@u.northwestern.edu>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions