summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenDAGPatterns.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-01-28 04:49:01 +0000
committerCraig Topper <craig.topper@gmail.com>2014-01-28 04:49:01 +0000
commit90790c3217c6be295004623590273529e04fe72a (patch)
treeb1353d1a0ee6fb2a74678062c54711ff25419ea9 /utils/TableGen/CodeGenDAGPatterns.h
parent2a154dd09feb0940812c43f187f55f80b9e7317e (diff)
downloadllvm-90790c3217c6be295004623590273529e04fe72a.tar.gz
llvm-90790c3217c6be295004623590273529e04fe72a.tar.bz2
llvm-90790c3217c6be295004623590273529e04fe72a.tar.xz
Improve handling of EnforceSmallerThan. Remove all types that are smaller from the larger set not just the smallest type from the smaller set. Ensure 'smaller' vectors have the same or fewer total bits. Similar for 'larger' vectors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200287 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.h')
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h
index 6fbdd4f9a8..0533bb8bb5 100644
--- a/utils/TableGen/CodeGenDAGPatterns.h
+++ b/utils/TableGen/CodeGenDAGPatterns.h
@@ -96,6 +96,10 @@ namespace EEVT {
/// a floating point value type.
bool hasFloatingPointTypes() const;
+ /// hasScalarTypes - Return true if this TypeSet contains a scalar value
+ /// type.
+ bool hasScalarTypes() const;
+
/// hasVectorTypes - Return true if this TypeSet contains a vector value
/// type.
bool hasVectorTypes() const;