From cde15fb187b9149a1702ea302725073325dbc702 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 29 Sep 2004 21:19:28 +0000 Subject: [PATCH] Make sure to check select instructions for generic instruction properties llvm-svn: 16597 --- llvm/lib/VMCore/Verifier.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index e90f5b3face9..97bc006df979 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -410,6 +410,7 @@ void Verifier::visitSelectInst(SelectInst &SI) { "Select values must have identical types!", &SI); Assert1(SI.getTrueValue()->getType() == SI.getType(), "Select values must have same type as select instruction!", &SI); + visitInstruction(SI); }