aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Verifier.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-29 21:19:28 +0000
committerChris Lattner <sabre@nondot.org>2004-09-29 21:19:28 +0000
commit0030e6c5c5358ca9ff894105d98dac96205bd9af (patch)
treea2bc74255b5fb861b7488beb7ae66c204cf10fc4 /lib/VMCore/Verifier.cpp
parent49dd15402ba7f2fe4e741ad63283003eb69560dd (diff)
downloadexternal_llvm-0030e6c5c5358ca9ff894105d98dac96205bd9af.zip
external_llvm-0030e6c5c5358ca9ff894105d98dac96205bd9af.tar.gz
external_llvm-0030e6c5c5358ca9ff894105d98dac96205bd9af.tar.bz2
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
Diffstat (limited to 'lib/VMCore/Verifier.cpp')
-rw-r--r--lib/VMCore/Verifier.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp
index e90f5b3..97bc006 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);
}