diff options
author | Andrzej WarzyĆski <andrzej.warzynski@arm.com> | 2023-11-21 19:07:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 19:07:18 +0000 |
commit | 730e0d035b3bf12d37668540edbc6328e499f12f (patch) | |
tree | edce067054a7121181baf918ed4f2745908b100c /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 7a6fd49c8a4f9576d3dafe98e78f9c4bc3798105 (diff) | |
download | llvm-730e0d035b3bf12d37668540edbc6328e499f12f.zip llvm-730e0d035b3bf12d37668540edbc6328e499f12f.tar.gz llvm-730e0d035b3bf12d37668540edbc6328e499f12f.tar.bz2 |
[mlir][vector][nfc] Refactor vector.contract matvec tests (#72832)
Update tests in "vector-contract-matvec-transforms.mlir" so that they
are consistent with similar tests in:
* "vector-contract-to-outerproduct-transforms.mlir".
This is to enable further refactoring in a follow-up patch, namely to:
* remove duplication (this will be much easier once consistent naming
is used),
* extend tests in "vector-contract-matvec-transforms.mlir" with cases
for scalable vectors,
* merge "vector-contract-matvec-transforms.mlir" and
"vector-contract-to-outerproduct-transforms.mlir" (there's no need
for 2 different files testing identical transformations).
Overview of changes in this patch:
1. Simplify the test by removing MemRef wrappers - this test verifies
Vector -> Vector transformations and MemRefs are not needed.
2. Use (m, k) indices instead of (i, j).
3. Rename function names.
This is part of a larger effort to improve test coverage for scalable
vectors in the Vector dialect. Implements #72834.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions