[PATCH] D102605: [CodeGen] Add support for widening the result of EXTRACT_SUBVECTOR
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 18 00:45:40 PDT 2021
david-arm added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/sve-extract-vector.ll:115
+; CHECK-NEXT: ret
+ %retval = call <vscale x 1 x i32> @llvm.experimental.vector.extract.nxv1i32.nxv4i32(<vscale x 4 x i32> %vec, i64 0)
+ ret <vscale x 1 x i32> %retval
----------------
sdesmalen wrote:
> Can you add a test where the index is not 0?
I don't think so because the compiler will crash. We only support the '0' case for scalable vectors at the moment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102605/new/
https://reviews.llvm.org/D102605
More information about the llvm-commits
mailing list