[llvm] [GlobalISel][AArch64] Legalize G_ADD, G_SUB, G_AND, G_OR, and G_XOR for SVE (PR #110561)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 01:18:48 PDT 2024
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/110561 at github.com>
================
@@ -1198,6 +1197,11 @@ class LegalizeRuleSet {
assert(MinTy.getElementType() == MaxTy.getElementType() &&
"Expected element types to agree");
+ if (MinTy.isScalableVector())
+ return actionIf(LegalizeAction::Unsupported, always);
+ if (MaxTy.isScalableVector())
+ return actionIf(LegalizeAction::Unsupported, always);
----------------
davemgreen wrote:
This isn't used/needed yet? It should probably just be an assert with the current interfaces. We will need to find a way to fix those in the future.
https://github.com/llvm/llvm-project/pull/110561
More information about the llvm-commits
mailing list