diff options
| author | Andrzej Warzyński <andrzej.warzynski@arm.com> | 2025-04-07 13:56:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 13:56:54 +0100 |
| commit | 2f6bc47a18d9a97635b76520f0e33391aa72ba68 (patch) | |
| tree | 573d49d3c80f716e963e78611f16b6f2d28b682f /mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | |
| parent | bafa2f4442bcee26f05c22369d41646d5c8befb9 (diff) | |
[mlir][vector] Standardise `valueToStore` Naming Across Vector Ops (NFC) (#134206)
This change standardises the naming convention for the argument
representing the value to store in various vector operations.
Specifically, it ensures that all vector ops storing a value—whether
into memory, a tensor, or another vector — use `valueToStore` for the
corresponding argument name.
Updated operations:
* `vector.transfer_write`, `vector.insert`, `vector.scalable_insert`,
`vector.insert_strided_slice`.
For reference, here are operations that currently use `valueToStore`:
* `vector.store` `vector.scatter`, `vector.compressstore`,
`vector.maskedstore`.
This change is non-functional (NFC) and does not affect the
functionality of these operations.
Implements #131602
Diffstat (limited to 'mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp')
| -rw-r--r-- | mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp index 95db83118559..b9b598c02b4a 100644 --- a/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp +++ b/mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp @@ -661,7 +661,7 @@ struct PrepareTransferWriteConversion buffers.dataBuffer); auto loadedVec = rewriter.create<memref::LoadOp>(loc, buffers.dataBuffer); rewriter.modifyOpInPlace(xferOp, [&]() { - xferOp.getVectorMutable().assign(loadedVec); + xferOp.getValueToStoreMutable().assign(loadedVec); xferOp->setAttr(kPassLabel, rewriter.getUnitAttr()); }); |
