tblgen/AsmMatcher: Emit simple matcher for register names.
[oota-llvm.git] / utils / TableGen / IntrinsicEmitter.cpp
index 36768316bc0e894c1bff5869b467ce7ab22622f3..f4157bb460997148ba9127ce1dce429bdca2f829 100644 (file)
@@ -159,6 +159,8 @@ static void EmitTypeForValueType(raw_ostream &OS, MVT::SimpleValueType VT) {
     OS << "Type::PPC_FP128Ty";
   } else if (VT == MVT::isVoid) {
     OS << "Type::VoidTy";
+  } else if (VT == MVT::Metadata) {
+    OS << "Type::MetadataTy";
   } else {
     assert(false && "Unsupported ValueType!");
   }