diff options
author | Dale Johannesen <dalej@apple.com> | 2010-09-10 20:55:01 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-09-10 20:55:01 +0000 |
commit | baa5d045c90729268ae6d5d4f08551e28fafde34 (patch) | |
tree | d481d904308310f73c8212369cbcfe3f23ee7763 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | d1d6f2ca46ad7e21494373b73acee3a03ecf132d (diff) | |
download | bcm5719-llvm-baa5d045c90729268ae6d5d4f08551e28fafde34.tar.gz bcm5719-llvm-baa5d045c90729268ae6d5d4f08551e28fafde34.zip |
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".)
llvm-svn: 113618
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 7b6fc6cd928..4e6e6d984f4 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/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; |