aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bitcode
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-08-03 01:03:46 +0000
committerDale Johannesen <dalej@apple.com>2007-08-03 01:03:46 +0000
commitf325d9ff804699723784b615a500a504857c7d13 (patch)
tree9c3020b8e874758d20de1ddb5cac4aeb635bb2c6 /include/llvm/Bitcode
parenta3c76a4bcc787b3eb8c219e58bbeb7ffbfbf16bd (diff)
downloadexternal_llvm-f325d9ff804699723784b615a500a504857c7d13.zip
external_llvm-f325d9ff804699723784b615a500a504857c7d13.tar.gz
external_llvm-f325d9ff804699723784b615a500a504857c7d13.tar.bz2
Long double, part 1 of N. Support in IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode')
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h
index 24e6729..f62af5e 100644
--- a/include/llvm/Bitcode/LLVMBitCodes.h
+++ b/include/llvm/Bitcode/LLVMBitCodes.h
@@ -81,7 +81,14 @@ namespace bitc {
TYPE_CODE_FUNCTION = 9, // FUNCTION: [vararg, retty, paramty x N]
TYPE_CODE_STRUCT = 10, // STRUCT: [ispacked, eltty x N]
TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty]
- TYPE_CODE_VECTOR = 12 // VECTOR: [numelts, eltty]
+ TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty]
+
+ // These are not with the other floating point types because they're
+ // a late addition, and putting them in the right place breaks
+ // binary compatibility.
+ TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE
+ TYPE_CODE_FP128 = 14, // LONG DOUBLE (112 bit mantissa)
+ TYPE_CODE_PPC_FP128= 15 // PPC LONG DOUBLE (2 doubles)
// Any other type code is assumed to be an unknown type.
};