This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Update `tensor.extract` for scalable vectors
AbandonedPublic

Authored by awarzynski on Aug 15 2023, 10:01 AM.

Details

Summary

This patch updates ExtractOp::inferReturnTypes so that scalable
dimensions are correctly recognised. This effectively fixes
CastAwayElementwiseLeadingOneDim when using scalable vectors and
that's what the supplemented test verify.

Depends on D157993

Diff Detail