[LLVMbugs] [Bug 3235] New: instcombine crash on i128

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Dec 18 23:57:26 PST 2008


           Summary: instcombine crash on i128
           Product: new-bugs
           Version: unspecified
          Platform: Other
        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

$ opt -instcombine -disable-output x.bc
opt: llvm/include/llvm/ADT/APInt.h:1051: int64_t llvm::APInt::getSExtValue()
const: Assertion `getMinSignedBits() <= 64 && "Too many bits for int64_t"'

This fires when building Fortran on x86-64 linux, and was introduced by:

r59403 | lattner | 2008-11-16 06:38:51 +0100 (Sun, 16 Nov 2008) | 2 lines

simplify a bunch more instcombines to use m_Specific etc.


define i128 @m(i1 %f) nounwind {
        %tmp = select i1 %f, i128 18446744073709551615, i128
9223372036854775807                ; <i128> [#uses=1]
        ret i128 %tmp

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