diff options
author | Cullen Rhodes <cullen.rhodes@arm.com> | 2023-06-14 08:26:44 +0000 |
---|---|---|
committer | Cullen Rhodes <cullen.rhodes@arm.com> | 2023-07-03 10:18:43 +0000 |
commit | 564713c47175d9f61fe8e18e750fb7f7b486d533 (patch) | |
tree | 84a4e9461fb4705863cda67d22d53a38b6e93cb1 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 39b5a02b14c0bbb028d36ea56e0170d52d0d7f95 (diff) | |
download | llvm-564713c47175d9f61fe8e18e750fb7f7b486d533.zip llvm-564713c47175d9f61fe8e18e750fb7f7b486d533.tar.gz llvm-564713c47175d9f61fe8e18e750fb7f7b486d533.tar.bz2 |
[mlir][ArmSME] Add basic lowering of vector.transfer_write to zero
This patch adds support for lowering a 'vector.transfer_write' of zeroes
and type 'vector<[16x16]xi8>' to the SME 'zero {za}' instruction [1],
which zeroes the entire accumulator, and then writing it out to memory
with the 'str' instruction [2].
This contributes to supporting a path from 'linalg.fill' to SME.
[1] https://developer.arm.com/documentation/ddi0602/2022-06/SME-Instructions/ZERO--Zero-a-list-of-64-bit-element-ZA-tiles-
[2] https://developer.arm.com/documentation/ddi0602/2022-06/SME-Instructions/STR--Store-vector-from-ZA-array-
Reviewed By: awarzynski, dcaballe, WanderAway
Differential Revision: https://reviews.llvm.org/D152508
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions