forked from OSchip/llvm-project
Make sure to check select instructions for generic instruction properties
llvm-svn: 16597
This commit is contained in:
parent
fb1fd0cb5f
commit
cde15fb187
|
@ -410,6 +410,7 @@ void Verifier::visitSelectInst(SelectInst &SI) {
|
||||||
"Select values must have identical types!", &SI);
|
"Select values must have identical types!", &SI);
|
||||||
Assert1(SI.getTrueValue()->getType() == SI.getType(),
|
Assert1(SI.getTrueValue()->getType() == SI.getType(),
|
||||||
"Select values must have same type as select instruction!", &SI);
|
"Select values must have same type as select instruction!", &SI);
|
||||||
|
visitInstruction(SI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue