[LLVMbugs] [Bug 3116] New: SelectionDAG assertion fails: Binary operator types must match

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 23 04:29:20 PST 2008


http://llvm.org/bugs/show_bug.cgi?id=3116

           Summary: SelectionDAG assertion fails: Binary operator types must
                    match
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Using SVN r59908 on x86_64 linux:

$ ~/llvm-svn/llvm/Release/bin/llc bugpoint-reduced-simplified.bc
llc: SelectionDAG.cpp:2380: llvm::SDValue llvm::SelectionDAG::getNode(unsigned
int, llvm::MVT, llvm::SDValue, llvm::SDValue): Assertion `VT.isInteger() &&
N1.getValueType() == N2.getValueType() && N1.getValueType() == VT && "Binary
operator types must match!"' failed.
/home/edwin/llvm-svn/llvm/Release/bin/llc[0xc1770f]
/lib/libc.so.6[0x7f7b32457f60]
/lib/libc.so.6(gsignal+0x35)[0x7f7b32457ed5]
/lib/libc.so.6(abort+0x183)[0x7f7b324593f3]
/lib/libc.so.6(__assert_fail+0xe9)[0x7f7b32450dc9]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm12SelectionDAG7getNodeEjNS_3MVTENS_7SDValueES2_+0x44d)[0x90f42d]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm20SelectionDAGLowering11visitBinaryERNS_4UserEj+0xa8)[0x940918]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm16SelectionDAGISel16SelectBasicBlockEPNS_10BasicBlockENS_14ilist_iteratorINS_11InstructionEEES5_+0x22d)[0x95361d]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERNS_8FunctionERNS_15MachineFunctionEPNS_17MachineModuleInfoERKNS_15TargetInstrInfoE+0x2f2)[0x9539b2]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm16SelectionDAGISel13runOnFunctionERNS_8FunctionE+0x482)[0x954f82]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x15b)[0xbb3d4b]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm23FunctionPassManagerImpl3runERNS_8FunctionE+0x86)[0xbb4146]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZN4llvm19FunctionPassManager3runERNS_8FunctionE+0x3e)[0xbb42ce]
/home/edwin/llvm-svn/llvm/Release/bin/llc(main+0x1061)[0x4fdec1]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7f7b324441a6]
/home/edwin/llvm-svn/llvm/Release/bin/llc(_ZNSt8ios_base4InitD1Ev+0x39)[0x4fc3a9]
Aborted

The original .bc file was created by llvm-gcc, I can reduce a C testcase too if
needed.


-- 
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