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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to