[LLVMbugs] [Bug 13352] New: [AVX2] assertion hits in SelectionDAG.cpp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 13 06:56:12 PDT 2012


             Bug #: 13352
           Summary: [AVX2] assertion hits in SelectionDAG.cpp
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 8888
  --> http://llvm.org/bugs/attachment.cgi?id=8888
test case

With the attached program, I get the following assertion:

% llc -mattr=+avx2 ~/bugpoint-reduced-simplified.ll                          
Assertion failed: (VT.getSizeInBits() == Operand.getValueType().getSizeInBits()
&& "Cannot BITCAST between types of different sizes!"), function getNode, file
SelectionDAG.cpp, line 2566.
Stack dump:
0.    Program arguments: llc -mattr=+avx2
1.    Running pass 'Function Pass Manager' on module
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@f_f'
[1]    93330 illegal hardware instruction  llc -mattr=+avx2

It compiles fine if I run with just "-mattr=+avx".

I've tried a number of older versions of LLVM ToT from the past month or so and
this bug seems to be present in all of them (i.e. not a recent regression).

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list