This patch implements extract_subvector for predicate types when
the input type is more than twice the size of the subvector that
is being extracted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thank you Sander!
It is nice to see that it also works for types like:
<vscale x 2 x i1> @llvm.experimental.vector.extract.nxv2i1.nxv6i1(<vscale x 6 x i1>, i64)
<vscale x 2 x i1> @llvm.experimental.vector.extract.nxv2i1.nxv12i1(<vscale x 12 x i1>, i64)
It would be too much if you add a test for these types/strides too?
Comment Actions
Thanks for the review @CarolineConcatto!
While these tests are useful, I don't think they should be part of this patch because this patch only implements the legal case.