[LLVMbugs] [Bug 3037] New: LegalizeTypes fails on i1 = extractelement <n x i1>, N

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 10 08:58:55 PST 2008


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

           Summary: LegalizeTypes fails on i1 = extractelement <n x i1>, N
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pgurd at rapidmind.com
                CC: llvmbugs at cs.uiuc.edu, sdt at rapidmind.com


Created an attachment (id=2193)
 --> (http://llvm.org/bugs/attachment.cgi?id=2193)
llvm ir file which reproduces the problem

The test case fails with the message

llc: LegalizeIntegerTypes.cpp:327: llvm::SDValue
llvm::DAGTypeLegalizer::PromoteIntRes_EXTRACT_VECTOR_ELT(llvm::SDNode*):
Assertion `OldVT.isSimple() && NewVT.isSimple()' failed.

Tested on x86 with -mcpu=core2


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