mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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
This commit is contained in:
parent
49dd15402b
commit
0030e6c5c5
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user