diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2015-01-22 20:14:38 +0000 |
---|---|---|
committer | Ramkumar Ramachandra <artagnon@gmail.com> | 2015-01-22 20:14:38 +0000 |
commit | 75a4f35b2640b604f59c6df3b7dbe043c195cacd (patch) | |
tree | 2c5353db66f3baa6f006cb71f08abcd76df0a16d /llvm/utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | 49b71c609c0f8c008ac8d7ea9d9cce69858047b5 (diff) | |
download | llvm-75a4f35b2640b604f59c6df3b7dbe043c195cacd.zip llvm-75a4f35b2640b604f59c6df3b7dbe043c195cacd.tar.gz llvm-75a4f35b2640b604f59c6df3b7dbe043c195cacd.tar.bz2 |
Intrinsics: introduce llvm_any_ty aka ValueType Any
Specifically, gc.result benefits from this greatly. Instead of:
gc.result.int.*
gc.result.float.*
gc.result.ptr.*
...
We now have a gc.result.* that can specialize to literally any type.
Differential Revision: http://reviews.llvm.org/D7020
llvm-svn: 226857
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
-rw-r--r-- | llvm/utils/TableGen/CodeGenDAGPatterns.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.cpp b/llvm/utils/TableGen/CodeGenDAGPatterns.cpp index c3de37e..20bf29e 100644 --- a/llvm/utils/TableGen/CodeGenDAGPatterns.cpp +++ b/llvm/utils/TableGen/CodeGenDAGPatterns.cpp @@ -53,7 +53,7 @@ EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { EnforceVector(TP); else { assert((VT < MVT::LAST_VALUETYPE || VT == MVT::iPTR || - VT == MVT::iPTRAny) && "Not a concrete type!"); + VT == MVT::iPTRAny || VT == MVT::Any) && "Not a concrete type!"); TypeVec.push_back(VT); } } |