mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
For PR1042:
Fix a thinko. We want to check the second case if the first cast *didn't* trigger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ef39ca6a1
commit
d71b620c6c
@ -921,7 +921,7 @@ void Verifier::visitInstruction(Instruction &I) {
|
||||
// If it is used by something non-phi, then the other case is that
|
||||
// 'OpBlock' dominates all of its predecessors other than the
|
||||
// invoke. In this case, the invoke value can still be used.
|
||||
if (Bad) {
|
||||
if (!Bad) {
|
||||
Bad = false;
|
||||
for (pred_iterator PI = pred_begin(OpBlock),
|
||||
E = pred_end(OpBlock); PI != E; ++PI) {
|
||||
|
Loading…
Reference in New Issue
Block a user