[PATCH] D69956: [AArch64][SVE] Integer reduction instructions pattern/intrinsics.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 15:42:27 PST 2019
efriedma added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:169
+ addRegisterClass(MVT::v1i8, &AArch64::FPR8RegClass);
+ addRegisterClass(MVT::v1i16, &AArch64::FPR16RegClass);
+
----------------
dancgr wrote:
> efriedma wrote:
> > Is this change necessary? Making these legal has other effects I don't really want to think about.
> Its necessary to legalize those types for FPR. I have ran all tests for code-gen and it did not seam to have any side effect. For NEON we are currently legalizing v16i8 for FPR8 and v8i16 for FPR16 in the same way.
I just tried this and I see failures (if I enable this for all NEON targets, not just SVE).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69956/new/
https://reviews.llvm.org/D69956
More information about the llvm-commits
mailing list