[llvm-bugs] [Bug 32453] New: single-operand vector shuffle fails assertion in lowerVectorShuffleAsSplitOrBlend

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 28 16:36:42 PDT 2017


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

            Bug ID: 32453
           Summary: single-operand vector shuffle fails assertion in
                    lowerVectorShuffleAsSplitOrBlend
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.b.adams at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18194
  --> https://bugs.llvm.org/attachment.cgi?id=18194&action=edit
ll that reproduces

The attached .ll used to compile correctly like so:

llc bad.ll -mattr=+avx2

Sometime between 298846 and 298880 it started failing an assertion:

llc:
/usr/local/google/home/abadams/projects/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp:11901:
llvm::SDValue lowerVectorShuffleAsSplitOrBlend(const llvm::SDLoc&, llvm::MVT,
llvm::SDValue, llvm::SDValue, llvm::ArrayRef<int>, llvm::SelectionDAG&):
Assertion `!V2.isUndef() && "This routine must not be used to lower
single-input " "shuffles as it could then recurse on itself."' failed.

Sorry that the attached .ll is large. bugpoint reduces the crash to something
that looks unrelated to me.

-- 
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/20170328/d9169754/attachment.html>


More information about the llvm-bugs mailing list