[LLVMbugs] [Bug 5978] New: ipsccp crash: Assertion `shiftAmt <= BitWidth && " Invalid shift amount"' failed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jan 8 10:34:16 PST 2010


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

           Summary: ipsccp crash: Assertion `shiftAmt <= BitWidth &&
                    "Invalid shift amount"' failed
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


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

Reduced from clangs Builtins.cpp, as compiled by dragonegg.

$ opt -ipsccp builtins.bc -disable-output
opt: /home/duncan/LLVM/llvm.top/llvm/include/llvm/ADT/APInt.h:682: llvm::APInt
llvm::APInt::shl(unsigned int) const: Assertion `shiftAmt <= BitWidth &&
"Invalid shift amount"' failed.


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