[AVX] Implement EnforceSmallerThan for mixed int/fp type lists. This
authorDavid Greene <greened@obbligato.org>
Tue, 1 Feb 2011 19:12:32 +0000 (19:12 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 1 Feb 2011 19:12:32 +0000 (19:12 +0000)
commit9d7f0111100d863f2722deab952711a5496abad4
treec0d6339e4895e2186123ae5eb89e65ef2b2de6a1
parente136e506eca050db4efeebcd006ac2b2816f7211
[AVX] Implement EnforceSmallerThan for mixed int/fp type lists.  This
makes type checking for extract_subvector and insert_subvector more
robust and will allow stricter typechecking of more patterns in the
future.

This change handles int and fp as disjoint sets so that it will
enforce integer types to be smaller than the largest integer type and
fp types to be smaller than the largest fp type.  There is no attempt
to check type sizes across the int/fp sets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124672 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenDAGPatterns.cpp