diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2023-03-02 11:46:10 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2023-03-02 12:07:41 +0000 |
commit | 170e7a0ec2e6d29cb642ece0bf34f395453d5e68 (patch) | |
tree | 15e822aef5e066ad5484bfa67065f48b3e365d70 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | b4d9ac8b453e20e4223b5935c700698608a6425c (diff) | |
download | llvm-170e7a0ec2e6d29cb642ece0bf34f395453d5e68.zip llvm-170e7a0ec2e6d29cb642ece0bf34f395453d5e68.tar.gz llvm-170e7a0ec2e6d29cb642ece0bf34f395453d5e68.tar.bz2 |
[AArch64][SME2] Add CodeGen support for target("aarch64.svcount").
This patch adds AArch64 CodeGen support such that the type can be passed
and returned to/from functions, and also adds support to use this type in
load/store operations and PHI nodes.
Reviewed By: paulwalker-arm
Differential Revision: https://reviews.llvm.org/D136862
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index f028381..54c71c1 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -7696,7 +7696,7 @@ static bool splitMergedValStore(StoreInst &SI, const DataLayout &DL, // whereas scalable vectors would have to be shifted by // <2log(vscale) + number of bits> in order to store the // low/high parts. Bailing out for now. - if (isa<ScalableVectorType>(StoreType)) + if (StoreType->isScalableTy()) return false; if (!DL.typeSizeEqualsStoreSize(StoreType) || |