From: Chris Lattner Date: Wed, 29 Sep 2004 21:19:28 +0000 (+0000) Subject: Make sure to check select instructions for generic instruction properties X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0030e6c5c5358ca9ff894105d98dac96205bd9af;p=oota-llvm.git Make sure to check select instructions for generic instruction properties git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16597 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index e90f5b3face..97bc006df97 100644 --- a/lib/VMCore/Verifier.cpp +++ b/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); }