[TableGen] Add support constraining a vector type in a pattern to have a specific...
authorCraig Topper <craig.topper@gmail.com>
Thu, 5 Mar 2015 07:11:34 +0000 (07:11 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 5 Mar 2015 07:11:34 +0000 (07:11 +0000)
commit8ad519fd3c5998d977d4f63bc9fc9ec5a95580b6
tree083605bfd9dd3bc4807749730dbd8a47ccb27924
parent62eaac608745d9012d03dae20af97855f1903a9a
[TableGen] Add support constraining a vector type in a pattern to have a specific element type and for constraining a vector type to have the same number of elements as another vector type. This is useful for AVX512 mask operations so we relate the mask type to the type of the other arguments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231356 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetSelectionDAG.td
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenDAGPatterns.h