This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Fold extract(shape_cast) for same element count
ClosedPublic

Authored by antiagainst on Aug 14 2023, 3:50 PM.

Diff Detail

Event Timeline

antiagainst created this revision.Aug 14 2023, 3:50 PM
Herald added a project: Restricted Project. · View Herald Transcript
antiagainst requested review of this revision.Aug 14 2023, 3:50 PM
hanchung accepted this revision.Aug 15 2023, 10:53 AM
hanchung added inline comments.
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
1824–1830

[optional] I think early-return for failure() and returning success() at the end look more common to me.

This revision is now accepted and ready to land.Aug 15 2023, 10:53 AM
antiagainst marked an inline comment as done.Aug 15 2023, 11:28 AM
antiagainst added inline comments.
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
1824–1830

SG. Fixed.

This revision was automatically updated to reflect the committed changes.
antiagainst marked an inline comment as done.