summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-09-11 00:16:46 +0000
committerDale Johannesen <dalej@apple.com>2010-09-11 00:16:46 +0000
commit8be452545a1d3921f006c4d5673f14165ceead82 (patch)
tree8697ca6479eca94f7a567cca3702e9ca0888e22b /utils
parenta65568676d0d9d53dd4aae8f1c58271bb4cfff10 (diff)
downloadllvm-8be452545a1d3921f006c4d5673f14165ceead82.tar.gz
llvm-8be452545a1d3921f006c4d5673f14165ceead82.tar.bz2
llvm-8be452545a1d3921f006c4d5673f14165ceead82.tar.xz
Add x86mmx to TableGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-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 cee95cf691..abd221d194 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -192,6 +192,8 @@ static void EmitTypeForValueType(raw_ostream &OS, MVT::SimpleValueType VT) {
OS << "Type::getVoidTy(Context)";
} else if (VT == MVT::Metadata) {
OS << "Type::getMetadataTy(Context)";
+ } else if (VT == MVT::x86mmx) {
+ OS << "Type::getX86_MMXTy(Context)";
} else {
assert(false && "Unsupported ValueType!");
}