[llvm-bugs] [Bug 28528] New: Cannot select: intrinsic %llvm.aarch64.neon.sqshrun

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 12 15:01:10 PDT 2016


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

            Bug ID: 28528
           Summary: Cannot select: intrinsic %llvm.aarch64.neon.sqshrun
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: alina.sbirlea at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16735
  --> https://llvm.org/bugs/attachment.cgi?id=16735&action=edit
Test showing the failure.

We've come across this testcase where the following sequence fails to lower
intrinsic sqshrun.
Fulltest attached (llc test_reduced.ll to reproduce).


  %tmp1906 = add nsw <8 x i32> undef, undef
  %tmp1908 = shufflevector <8 x i32> %tmp1906, <8 x i32> undef, <4 x i32> <i32
0, i32 1, i32 2, i32 3>
  %tmp1909 = call <4 x i16> @llvm.aarch64.neon.sqshrun.v4i16(<4 x i32>
%tmp1908, i32 18) #0
  %tmp1914 = getelementptr inbounds i16, i16* undef, i64 8
  %tmp1915 = bitcast i16* %tmp1914 to <4 x i16>*
  store <4 x i16> %tmp1909, <4 x i16>* %tmp1915, align 16

-- 
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/20160712/9920ee79/attachment.html>


More information about the llvm-bugs mailing list