[LLVMbugs] [Bug 1181] NEW: C backend assertion: (castIsValid(getOpcode(), S, Ty) && "Illegal Trunc")

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 5 13:37:04 PST 2007


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

           Summary: C backend assertion: (castIsValid(getOpcode(), S, Ty) &&
                    "Illegal Trunc")
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: C
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: evan.cheng at apple.com


llc -march=c triggers this assertion. Test case is:

target datalayout = "e-p:64:64"
target triple = "x86_64-apple-darwin8"

implementation   ; Functions:

declare void @llvm.memset.i64(i8*, i8, i64, i32)

define fastcc void @InitUser_data_unregistered() {
entry:
        tail call void @llvm.memset.i64( i8* null, i8 0, i64 65496, i32 1 )
        ret void
}



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list