The subtarget was unconditionally reporting that SVE was to be used to
lower vectors when Neon was unavailable, even when SVE itself was
unavailable. This decision leads other parts of the compiler to crash,
e.g., when querying SVE vector sizes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If this is the right solution, it might be best to backport it to LLVM 17 as that's where I originally found the issue.
Comment Actions
Thanks for fixing this! I'm surprised we didn't catch this before. Are you happy to backport this patch to LLVM17 ?
Comment Actions
My pleasure, thanks for the quick review! Yes I'm happy to do the backporting; expect that soon :)