aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-09-10 20:55:01 +0000
committerDale Johannesen <dalej@apple.com>2010-09-10 20:55:01 +0000
commitbb811a244567aa8a1522203f15588f4d001b7353 (patch)
treead234d32641b5769602d1dd68ae5f870b341b320 /lib/Bitcode/Writer
parentf9e49e86ee9f06c2808c6e57723c5650615e689d (diff)
downloadexternal_llvm-bb811a244567aa8a1522203f15588f4d001b7353.zip
external_llvm-bb811a244567aa8a1522203f15588f4d001b7353.tar.gz
external_llvm-bb811a244567aa8a1522203f15588f4d001b7353.tar.bz2
Add X86 MMX type to bitcode and Type.
(The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 7b6fc6c..4e6e6d9 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -211,6 +211,7 @@ static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) {
case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break;
case Type::OpaqueTyID: Code = bitc::TYPE_CODE_OPAQUE; break;
case Type::MetadataTyID: Code = bitc::TYPE_CODE_METADATA; break;
+ case Type::X86_MMXTyID: Code = bitc::TYPE_CODE_X86_MMX; break;
case Type::IntegerTyID:
// INTEGER: [width]
Code = bitc::TYPE_CODE_INTEGER;