mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 19:36:05 +00:00
[AArch64] NFCI: More sensible implementation of isLegalMaskedGatherScatter.
Gather/Scatter instructions are only available if the whole of SVE is available.
This commit is contained in:
parent
cba4dfdd2f
commit
b1ec1a2dc8
@ -276,7 +276,7 @@ public:
|
||||
}
|
||||
|
||||
bool isLegalMaskedGatherScatter(Type *DataType) const {
|
||||
if (!ST->hasSVE() || !ST->isNeonAvailable())
|
||||
if (!ST->isSVEAvailable())
|
||||
return false;
|
||||
|
||||
// For fixed vectors, scalarize if not using SVE for them.
|
||||
|
Loading…
x
Reference in New Issue
Block a user