[LLVMbugs] [Bug 4158] New: support arbitrary-width integers in the C backend
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue May 5 02:24:16 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4158
Summary: support arbitrary-width integers in the C backend
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Backend: C
AssignedTo: unassignedbugs at nondot.org
ReportedBy: edwintorok at gmail.com
CC: llvmbugs at cs.uiuc.edu
Currently it is not possible to use the C backend if the bitcode contains i256,
i512, or anything >128, due to:
extern llvmUInt128llc: CBackend.cpp:484:
llvm::raw_ostream&<unnamed>::CWriter::printSimpleType(llvm::raw_ostream&, const
llvm::Type*, bool, const std::string&): Assertion `NumBits <= 128 && "Bit
widths > 128 not implemented yet"' failed.
Would it be possible for the C backend to use the type legalization framework,
and tell it that it supports only i8, i16, i32, i64, (and possibly i128)?
--
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