summaryrefslogtreecommitdiff
path: root/utils/TableGen/IntrinsicEmitter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-06 23:44:32 +0000
committerDevang Patel <dpatel@apple.com>2009-07-06 23:44:32 +0000
commitbee9e35ba25c0f1c4fba7e4b01fef29dbfd859f3 (patch)
treefb53a884ba749934502cbb1171a0a42cac7b57c6 /utils/TableGen/IntrinsicEmitter.cpp
parenta41a5dc3b761c175b21c3c2b18efb0edc07567de (diff)
downloadllvm-bee9e35ba25c0f1c4fba7e4b01fef29dbfd859f3.tar.gz
llvm-bee9e35ba25c0f1c4fba7e4b01fef29dbfd859f3.tar.bz2
llvm-bee9e35ba25c0f1c4fba7e4b01fef29dbfd859f3.tar.xz
Add new ValueType for metadata.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/IntrinsicEmitter.cpp')
-rw-r--r--utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index 36768316bc..f4157bb460 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -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!");
}