mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Fix bug: test/Regression/Other/2002-03-11-ConstPropCrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -270,7 +270,7 @@ bool SCCP::doSCCP() {
|
||||
// Hey, we just changed something!
|
||||
MadeChanges = true;
|
||||
} else if (TerminatorInst *TI = dyn_cast<TerminatorInst>(Inst)) {
|
||||
MadeChanges |= ConstantFoldTerminator(TI);
|
||||
MadeChanges |= ConstantFoldTerminator(BB, BI, TI);
|
||||
}
|
||||
|
||||
++BI;
|
||||
|
Reference in New Issue
Block a user