mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Revert commit r207302 since build failures
have been reported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -76,15 +76,7 @@ namespace {
|
||||
++NumSimplified;
|
||||
Changed = true;
|
||||
}
|
||||
bool res = RecursivelyDeleteTriviallyDeadInstructions(I, TLI);
|
||||
if (res) {
|
||||
// RecursivelyDeleteTriviallyDeadInstruction can remove
|
||||
// more than one instruction, so simply incrementing the
|
||||
// iterator does not work. When instructions get deleted
|
||||
// re-iterate instead.
|
||||
BI = BB->begin(); BE = BB->end();
|
||||
Changed |= res;
|
||||
}
|
||||
Changed |= RecursivelyDeleteTriviallyDeadInstructions(I, TLI);
|
||||
}
|
||||
|
||||
// Place the list of instructions to simplify on the next loop iteration
|
||||
|
||||
Reference in New Issue
Block a user