[LLVMbugs] [Bug 5558] New: Assertion in DAGTypeLegalizer when trying to use 64bit types on 16bit targets

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 19 02:13:23 PST 2009


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

           Summary: Assertion in DAGTypeLegalizer when trying to use 64bit
                    types on 16bit targets
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: quickslyver at free.fr
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3836)
 --> (http://llvm.org/bugs/attachment.cgi?id=3836)
testcase

I was trying to set long long length as 64bit for 16b targets in clang and
while compiling strtoll function from newlib the following assertion append
when running llc:

llc: llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:619: void
llvm::DAGTypeLegalizer::RemapValue(llvm::SDValue&): Assertion
`N.getNode()->getNodeId() != NewNode && "Mapped to new node!"' failed.

same assertion with pic16 and msp430 targets.

commands used:

llc test.ll -march=msp430
llc test.ll -march=pic16

test.ll is in attachement


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