Improve and simplify EnforceSmallerThan for vector types.
authorCraig Topper <craig.topper@gmail.com>
Tue, 10 Mar 2015 03:25:07 +0000 (03:25 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 10 Mar 2015 03:25:07 +0000 (03:25 +0000)
commitd4843f4c4539d8d8470f85c16d4d8ce00893a3c7
treee668ab3a7ae9c56d6b6116b2e346b99caaf4962e
parent541e68ea57276dbdc564ec0368f66da7f701976a
Improve and simplify EnforceSmallerThan for vector types.

Explicitly compare the size of the scalar types and the whole vector size rather than just comparing enum encodings.

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