[LLVMbugs] [Bug 5744] New: Assertion failed: (C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!")

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 9 15:49:55 PST 2009


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

           Summary: Assertion failed: (C->getType()->getScalarSizeInBits() >
                    Ty->getScalarSizeInBits()&& "SrcTy must be larger than
                    DestTy for Trunc!")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 3696


Created an attachment (id=3933)
 --> (http://llvm.org/bugs/attachment.cgi?id=3933)
bugpoint-reduced-simplified.bc

Assert in opt when building vfs_bio.c from the FreeBSD kernel.

llvm/clang r90987.

# opt bugpoint-reduced-simplified.bc -inline -scalarrepl -gvn -constmerge
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

Assertion failed: (C->getType()->getScalarSizeInBits() >
Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!"),
function getTrunc, file Constants.cpp, line 1220.
Stack dump:
0.      Program arguments: opt bugpoint-reduced-simplified.bc -inline
-scalarrepl -gvn -constmerge 
1.      Running pass 'CallGraph Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.      Running pass 'Global Value Numbering' on function '@flushbufqueues'
Abort (core dumped)


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