diff options
author | Andrzej WarzyĆski <andrzej.warzynski@arm.com> | 2024-12-11 15:20:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-11 15:20:27 +0000 |
commit | e0c6088bcb5746795f04ab0bf53cec1cfea2480e (patch) | |
tree | 8a82008033fbb4acce1c69d4b9a390ede445eeb3 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | d416cae180a5c7e7325c0b55818056e328633a61 (diff) | |
download | llvm-e0c6088bcb5746795f04ab0bf53cec1cfea2480e.zip llvm-e0c6088bcb5746795f04ab0bf53cec1cfea2480e.tar.gz llvm-e0c6088bcb5746795f04ab0bf53cec1cfea2480e.tar.bz2 |
[mlir][nfc] Update vectorize-tensor-extract.mlir (3/N) (#119121)
Tests in "vectorize-tensor-extract.mlir" are inconsistent and would
benefit from refactoring to:
* Clearly categorize tests into "contiguous load," "gather load," and
"scalar load + broadcast" cases, reflecting the structure of
tensor.extract vectorization.
* Unify variable naming (both MLIR and FileCheck).
* Ensure all tests exercise unmasked vectorization (masked vectorization
is covered in "vectorize-tensor-extract-masked.mlir").
* Improve and standardize formatting.
These changes will make it easier to identify the test cases being
exercised and simplify future maintenance or refactoring.
This is patch 3/N in the series. Below is a summary of the changes in
this patch.
----------------------------------------------------------------------
Summary of patch 3/N
----------------------------------------------------------------------
* Cluster all tests for "scalar load + broadcast" together
* Unify MLIR and FileCheck variable names, e.g. `%input`, `%output` ->
`%src`, `%init`.
Note, I haven't changed test function names to make it easier to track
changes (this PR is mostly about moving code). I will send a seperate PR
to rename the tests.
----------------------------------------------------------------------
Previous patches
----------------------------------------------------------------------
* https://github.com/llvm/llvm-project/pull/118977
* https://github.com/llvm/llvm-project/pull/119080
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions