[LLVMbugs] [Bug 5757] New: Assertion fails: ReplaceAllUsesWith in SelectionDAG

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Dec 11 05:49:19 PST 2009


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

           Summary: Assertion fails: ReplaceAllUsesWith in SelectionDAG
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: compile-fail
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stephan.reiter at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3934)
 --> (http://llvm.org/bugs/attachment.cgi?id=3934)
LLVM module for reproduction of the problem.

Attempting to compile the attached LLVM with llc built from today's trunk (Dec
11th) on Windows XP 64-bit aborts with the following errors message:

Replacing.3 0x257afa8: i64 = select 0x2522978, 0x2523990, 0x251f078
With: 0x2523c78: i32 = mul 0x2522d58, 0x2523990

Assertion failed: (!From->hasAnyUseOfValue(i) || From->getValueType(i) ==
To->getValueType(i)) && "Cannot use this version of ReplaceAllUsesWith!", file
trunk\lib\CodeGen\SelectionDAG\SelectionDAG.cpp, line 4871


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