[llvm] [GlobalISel][AArch64] Legalize G_EXTRACT_SUBVECTOR (PR #112946)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 19 06:30:09 PDT 2024
================
@@ -1363,6 +1363,11 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
getActionDefinitionsBuilder({G_SCMP, G_UCMP}).lower();
+ getActionDefinitionsBuilder(G_EXTRACT_SUBVECTOR)
+ .legalFor({{v8s8, v16s8}, {v4s16, v8s16}, {v2s32, v4s32}})
+ .widenScalarOrEltToNextPow2(0)
+ .immIdx(0); // Inform verifier imm idx 0 is handled.
----------------
arsenm wrote:
I'd consider that to be a bug in the verify
https://github.com/llvm/llvm-project/pull/112946
More information about the llvm-commits
mailing list