mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Hopefully, the final fix for `[Pp]ropogate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -557,7 +557,7 @@ bool RPR::DoRaisePass(Function &F) {
|
||||
for (Function::iterator BB = F.begin(), BBE = F.end(); BB != BBE; ++BB)
|
||||
for (BasicBlock::iterator BI = BB->begin(); BI != BB->end();) {
|
||||
DEBUG(cerr << "Processing: " << *BI);
|
||||
if (dceInstruction(BI) || doConstantPropogation(BI)) {
|
||||
if (dceInstruction(BI) || doConstantPropagation(BI)) {
|
||||
Changed = true;
|
||||
++NumDCEorCP;
|
||||
DEBUG(cerr << "***\t\t^^-- Dead code eliminated!\n");
|
||||
|
Reference in New Issue
Block a user