This is an archive of the discontinued LLVM Phabricator instance.

[mlir] skip 0-D vector in BubbleUpBitCastForStridedSliceInsert
ClosedPublic

Authored by python3kgae on Jan 22 2023, 3:14 PM.

Details

Summary

InsertStridedSliceOp will not get 0-D vector result, so just skip 0-D vector in BubbleUpBitCastForStridedSliceInsert.
Fixes #60214 https://github.com/llvm/llvm-project/issues/60214

Diff Detail

Event Timeline

python3kgae created this revision.Jan 22 2023, 3:14 PM
python3kgae requested review of this revision.Jan 22 2023, 3:14 PM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux added inline comments.Jan 29 2023, 4:40 PM
mlir/test/Dialect/Vector/vector-cast-0D.mlir
6 ↗(On Diff #491208)

I don't think it is worth adding a new file for this. Can you move this test to vector-transforms.mlir?

Move test to vector-transforms.mlir

Fix wrong history.

python3kgae marked an inline comment as done.Jan 29 2023, 5:59 PM
python3kgae added inline comments.
mlir/test/Dialect/Vector/vector-cast-0D.mlir
6 ↗(On Diff #491208)

Fixed.

This revision is now accepted and ready to land.Jan 29 2023, 6:07 PM
This revision was automatically updated to reflect the committed changes.
python3kgae marked an inline comment as done.