mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Int128 is also a built-in preconstructed type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e94cb75e5
commit
9c8ebbf969
@ -307,11 +307,12 @@ IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) {
|
|||||||
|
|
||||||
// Check for the built-in integer types
|
// Check for the built-in integer types
|
||||||
switch (NumBits) {
|
switch (NumBits) {
|
||||||
case 1: return cast<IntegerType>(Type::getInt1Ty(C));
|
case 1: return cast<IntegerType>(Type::getInt1Ty(C));
|
||||||
case 8: return cast<IntegerType>(Type::getInt8Ty(C));
|
case 8: return cast<IntegerType>(Type::getInt8Ty(C));
|
||||||
case 16: return cast<IntegerType>(Type::getInt16Ty(C));
|
case 16: return cast<IntegerType>(Type::getInt16Ty(C));
|
||||||
case 32: return cast<IntegerType>(Type::getInt32Ty(C));
|
case 32: return cast<IntegerType>(Type::getInt32Ty(C));
|
||||||
case 64: return cast<IntegerType>(Type::getInt64Ty(C));
|
case 64: return cast<IntegerType>(Type::getInt64Ty(C));
|
||||||
|
case 128: return cast<IntegerType>(Type::getInt128Ty(C));
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user