forked from OSchip/llvm-project
Strengthen type assertion for ISD::VSELECT ensuring that the condition has the name number of elements as the destination type.
llvm-svn: 269884
This commit is contained in:
parent
6afea51a58
commit
4b23ed79b3
|
@ -167,7 +167,7 @@ def SDTSelect : SDTypeProfile<1, 3, [ // select
|
|||
]>;
|
||||
|
||||
def SDTVSelect : SDTypeProfile<1, 3, [ // vselect
|
||||
SDTCisInt<1>, SDTCisSameAs<0, 2>, SDTCisSameAs<2, 3>
|
||||
SDTCisInt<1>, SDTCisSameAs<0, 2>, SDTCisSameAs<2, 3>, SDTCisSameNumEltsAs<0, 1>
|
||||
]>;
|
||||
|
||||
def SDTSelectCC : SDTypeProfile<1, 5, [ // select_cc
|
||||
|
|
Loading…
Reference in New Issue