summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenTarget.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-06-15 23:35:18 +0000
committerOwen Anderson <resistor@mac.com>2011-06-15 23:35:18 +0000
commit77b4b13c2a525faf646a6784b24692cf0459b75e (patch)
tree7639bf12c28f01272d8f93a42df63718aee8de85 /utils/TableGen/CodeGenTarget.cpp
parentf28987b76e758b5f2fcc2c5d2c8e073df54ca91e (diff)
downloadllvm-77b4b13c2a525faf646a6784b24692cf0459b75e.tar.gz
llvm-77b4b13c2a525faf646a6784b24692cf0459b75e.tar.bz2
llvm-77b4b13c2a525faf646a6784b24692cf0459b75e.tar.xz
Add a new MVT::untyped. This will be used in future work for modelling ISA features like register pairs and lists with "interesting" constraints (such as ARM NEON contiguous register lists or even-odd paired registers). We need to be able to generate these instructions (often from intrinsics), but don't want to have to assign a legal type to them. Instead, we'll use an "untyped" edge to bypass the type-checking and simply ensure that the register classes match.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenTarget.cpp')
-rw-r--r--utils/TableGen/CodeGenTarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenTarget.cpp b/utils/TableGen/CodeGenTarget.cpp
index 6751ae7ca8..97707f7bc0 100644
--- a/utils/TableGen/CodeGenTarget.cpp
+++ b/utils/TableGen/CodeGenTarget.cpp
@@ -90,6 +90,7 @@ std::string llvm::getEnumName(MVT::SimpleValueType T) {
case MVT::Metadata: return "MVT::Metadata";
case MVT::iPTR: return "MVT::iPTR";
case MVT::iPTRAny: return "MVT::iPTRAny";
+ case MVT::untyped: return "MVT::untyped";
default: assert(0 && "ILLEGAL VALUE TYPE!"); return "";
}
}