diff options
author | Bryan Chan <bryan.chan@huawei.com> | 2023-07-20 05:50:46 -0400 |
---|---|---|
committer | Bryan Chan <bryan.chan@huawei.com> | 2023-07-20 06:06:34 -0400 |
commit | 578b0bd4e621304a1ce367e87a53e59e404dec9b (patch) | |
tree | e9634b05e4a94f8a877d6b2afac15f7308951ce7 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 6dc94c54e51f416d03c42e7d61624419e03a3af6 (diff) | |
download | llvm-578b0bd4e621304a1ce367e87a53e59e404dec9b.zip llvm-578b0bd4e621304a1ce367e87a53e59e404dec9b.tar.gz llvm-578b0bd4e621304a1ce367e87a53e59e404dec9b.tar.bz2 |
[Clang][AArch64][SME] Add ZA zeroing intrinsics
This patch adds support for the following SME ACLE intrinsics (as defined
in https://arm-software.github.io/acle/main/acle.html):
- svzero_mask_za
- svzero_za
Co-authored-by: Sagar Kulkarni <sagar.kulkarni1@huawei.com>
Reviewed By: sdesmalen
Differential Revision: https://reviews.llvm.org/D134677
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 246050b..8292163 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -4283,6 +4283,9 @@ public: llvm::Value *EmitSMEReadWrite(SVETypeFlags TypeFlags, llvm::SmallVectorImpl<llvm::Value *> &Ops, unsigned IntID); + llvm::Value *EmitSMEZero(SVETypeFlags TypeFlags, + llvm::SmallVectorImpl<llvm::Value *> &Ops, + unsigned IntID); llvm::Value *EmitAArch64SMEBuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitAArch64BuiltinExpr(unsigned BuiltinID, const CallExpr *E, |