mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 03:17:51 +00:00
Strengthen type assertion for ISD::VSELECT ensuring that the condition has the name number of elements as the destination type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269884 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b34e977df
commit
d20d564523
@ -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…
x
Reference in New Issue
Block a user