From 0030e6c5c5358ca9ff894105d98dac96205bd9af 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16597 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Verifier.cpp | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.34.1