[all-commits] [llvm/llvm-project] fb8eb4: [mlir][ArmSME] Fix loop bounds of masked loads/sto...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Fri Jan 26 01:39:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb8eb4251ac0ac27ab0125caf1abe3dbb93732f4
https://github.com/llvm/llvm-project/commit/fb8eb4251ac0ac27ab0125caf1abe3dbb93732f4
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-01-26 (Fri, 26 Jan 2024)
Changed paths:
M mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp
M mlir/test/Conversion/ArmSMEToSCF/arm-sme-to-scf.mlir
Log Message:
-----------
[mlir][ArmSME] Fix loop bounds of masked loads/stores (#78983)
Previously, for masked tile loads/stores we directly used the dimension
size from the `vector.create_mask` operation as the upper bound of the
`scf.for` over the tile slices. This was not correct, as `create_mask`
allows operands to be greater than the size of the vector dimension, in
which case the for loop bounds should be clamped to the number of tile
slices.
More information about the All-commits
mailing list