[PATCH] D107068: [DAG] DAGCombiner::visitVECTOR_SHUFFLE - recognise INSERT_SUBVECTOR patterns.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 02:23:43 PDT 2021


Test case attached. Crashes with

$ llc < bugpoint-reduced-simplified.ll -mtriple=armv7a-linux-gnu
LLVM ERROR: Cannot select: t73: v4i32 = insert_subvector t71, t69,
Constant:i32<0>
  t71: v4i32 = ARMISD::VMOVIMM TargetConstant:i32<0>
    t28: i32 = TargetConstant<0>
  t69: v2i32 = ARMISD::VMOVIMM TargetConstant:i32<0>
    t28: i32 = TargetConstant<0>
  t3: i32 = Constant<0>

On Fri, Aug 6, 2021 at 10:08 AM Simon Pilgrim via Phabricator via
llvm-commits <llvm-commits at lists.llvm.org> wrote:
>
> RKSimon added a comment.
>
> It looks like ARM is missing the equivalent combine to concat_vectors to AArch64 (or maybe it'll be easier to add isel patterns for neon - I'll have to look), But a test case would be useful please!
>
>
> Repository:
>   rG LLVM Github Monorepo
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D107068/new/
>
> https://reviews.llvm.org/D107068
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugpoint-reduced-simplified.ll
Type: application/octet-stream
Size: 1438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210806/46179644/attachment.obj>


More information about the llvm-commits mailing list