[LLVMbugs] [Bug 2977] New: new type legalizer fails to codegen some va_args
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Oct 29 05:18:13 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2977
Summary: new type legalizer fails to codegen some va_args
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nunoplopes at sapo.pt
CC: llvmbugs at cs.uiuc.edu
The following code crashes llc:
define i8* @ap_php_conv_p2(){
entry:
%ap.addr = alloca i8* ; <i8**> [#uses=36]
br label %sw.bb301
sw.bb301:
%0 = va_arg i8** %ap.addr, i64 ; <i64> [#uses=1]
br label %sw.bb301
}
with the error:
ExpandIntegerResult #0: 0x906fc34: i64,ch = vaarg 0x906fa08, 0x906fbac,
0x906fb24
llc: LegalizeIntegerTypes.cpp:951: void
llvm::DAGTypeLegalizer::ExpandIntegerResult(llvm::SDNode*, unsigned int):
Assertion `0 && "Do not know how to expand the result of this operator!"'
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