Unverified Commit 796d48b0 authored by Quinn Dawkins's avatar Quinn Dawkins Committed by GitHub
Browse files

[mlir][vector] Add leading unit dim folding patterns for masked transfers (#71466)

This handles `vector.transfer_read`, `vector.transfer_write`, and
`vector.constant_mask`. The unit dims are only relevant for masks
created by `create_mask` and `constant_mask` if the mask size for the
unit dim is non-one, in which case all subsequent sizes must also be
zero. From the perspective of the vector transfers, however, these unit
dims can just be dropped directly.
parent bdb309c5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment