[llvm-bugs] [Bug 38031] New: Unsupported ARM Neon intrinsics in Target-specific DAG combine function for VLDDUP

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 3 04:37:34 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38031

            Bug ID: 38031
           Summary: Unsupported ARM Neon intrinsics in Target-specific DAG
                    combine function for VLDDUP
           Product: tools
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Keywords: compile-fail, crash-on-invalid
          Severity: normal
          Priority: P
         Component: llc
          Assignee: ikosarev at accesssoftek.com
          Reporter: diogo.sampaio at arm.com
                CC: llvm-bugs at lists.llvm.org, sjoerd.meijer at arm.com

Created attachment 20511
  --> https://bugs.llvm.org/attachment.cgi?id=20511&action=edit
LLVM IR that generates crash-on-invalid

The new VLDDUP operations inserted in https://reviews.llvm.org/D48439
are not handled in the target-specific DAG combine function.

ARMISelLowering.cpp::11443 - CombineBaseUpdate

How to reproduce:
llc -debug < problem-9bb6ba.ll

Combining: t637: ch = TokenFactor t635:3, t636:3

Combining: t636: v4i16,v4i16,v4i16,ch = llvm.arm.neon.vld3lane<(load 24 from
%ir.32, align 2)> t634, TargetConstant:i32<1048>, FrameIndex:i32<32>, t635,
t635:1, t635:2, Constant:i32<0>, Constant:i32<2>

Combining: t635: v4i16,v4i16,v4i16,ch = llvm.arm.neon.vld3dup<(load 24 from
%ir.33, align 2)> t634, TargetConstant:i32<1047>, FrameIndex:i32<33>,
Constant:i32<2>

unexpected intrinsic for Neon base update
UNREACHABLE executed at
/work/bf/LLVM/local/src/lib/Target/ARM/ARMISelLowering.cpp:11483!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180703/00b01527/attachment.html>


More information about the llvm-bugs mailing list