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
This commit is contained in:
Dale Johannesen
2010-09-10 20:55:01 +00:00
parent d1d6f2ca46
commit baa5d045c9
17 changed files with 64 additions and 11 deletions

View File

@@ -549,6 +549,9 @@ bool BitcodeReader::ParseTypeTable() {
case bitc::TYPE_CODE_METADATA: // METADATA
ResultTy = Type::getMetadataTy(Context);
break;
case bitc::TYPE_CODE_X86_MMX: // X86_MMX
ResultTy = Type::getX86_MMXTy(Context);
break;
case bitc::TYPE_CODE_INTEGER: // INTEGER: [width]
if (Record.size() < 1)
return Error("Invalid Integer type record");