[all-commits] [llvm/llvm-project] 20085d: [NFC][SVE] Change useSVEForFixedLengthVectorVT to ...
paulwalker-arm via All-commits
all-commits at lists.llvm.org
Fri Feb 4 06:47:19 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20085df22a8462f63350b9a0f68b1044ed2be5a0
https://github.com/llvm/llvm-project/commit/20085df22a8462f63350b9a0f68b1044ed2be5a0
Author: Paul Walker <paul.walker at arm.com>
Date: 2022-02-04 (Fri, 04 Feb 2022)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[NFC][SVE] Change useSVEForFixedLengthVectorVT to allow unconditional SVE usage for NEON sized vectors.
Previously useSVEForFixedLengthVectorVT only allowed SVE usage when
the target SVE register length was known to be at least 256bit.
This was true even for NEON sized vectors, which was an artificial
restriction imposed during early SVE bring up. This now changes so
that callers can opt to use SVE for NEON sized vectors regardless
of the SVE register length.
The patch is NFC because for all places where OverrideNEON is used
we now explicitly also check that SVE code generation for larger
than NEON vectors is enabled. The intent is that over time these
extra checks will either be removed or the lowering disabled if the
SVE usage proves not beneficial.
Differential Revision: https://reviews.llvm.org/D118957
More information about the All-commits
mailing list