[LLVMbugs] [Bug 3976] New: Assert in TargetLowering:: SimplifySetCC when using intergers >= 256 bits

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 13 06:54:55 PDT 2009


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

           Summary: Assert in TargetLowering::SimplifySetCC when using
                    intergers >= 256 bits
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ddneff at hotmail.com
                CC: llvmbugs at cs.uiuc.edu


TargetLowering::SimplifySetCC seems to assume that operands can fit inside an
uint64_t.   If you write a program that has large integer types (256 or larger
in my case) this causes an assertion.  I don't see any reason why APInt can't
be used instead of uint64_t in this situation.  I wrote a patch that appears to
work, but I haven't put it through extensive testing.


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