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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs