Make sure to check select instructions for generic instruction properties

llvm-svn: 16597
This commit is contained in:
Chris Lattner 2004-09-29 21:19:28 +00:00
parent fb1fd0cb5f
commit cde15fb187
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }