[llvm-bugs] [Bug 33743] New: DAG combiner asserts due to extend in-register size mismatch for shufflevector

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 11 03:10:59 PDT 2017


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

            Bug ID: 33743
           Summary: DAG combiner asserts due to extend in-register size
                    mismatch for shufflevector
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: david.stuttard at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18775
  --> https://bugs.llvm.org/attachment.cgi?id=18775&action=edit
Reproducer for shufflevec issue in DAGCombine

This issue has been seen when compiling for the AMDGPU backend

llc -march=amdgcn shufflevec-dagcombine-issue.ll

This results in the following assert:

Assertion failed: VT.getSizeInBits() == Op.getValueSizeInBits() && "The sizes
of the input and result must match in order to perform the " "extend
in-register.", file ~\llvm\lib\CodeGen\SelectionDAG\SelectionDAG.cpp, line 1012

This looks like an issue in combineShuffleToVectorExtend

-- 
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/20170711/0fd2b545/attachment.html>


More information about the llvm-bugs mailing list