This is a small follow-on for #133721: * Renamed `getRealVectorRank` as `getEffectiveVectorRankForXferOp` (to emphasise that this method was written specifically for transfer Ops). * Marginally tweaked the description for `getEffectiveVectorRankForXferOp` (mostly to highlight the two edge cases being covered). * Added tests for cases when the element type (of the shaped type) is a vector. * Unified the naming (and the order) of arguments in tests with the surrounding tests (e.g. `%vec_to_write` -> `%arg1`). Mostly for consistency (it would be good to use self-documenting names like `%vec_to_write` throughout).
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.