mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
[JumpThreading] Delete commented out debug code; NFC
llvm-svn: 275346
This commit is contained in:
parent
fbdab24d99
commit
2064e9f3b5
@ -955,7 +955,6 @@ bool JumpThreadingPass::SimplifyPartiallyRedundantLoad(LoadInst *LI) {
|
||||
FindAvailableLoadedValue(LI, LoadBB, BBIt, DefMaxInstsToScan)) {
|
||||
// If the value of the load is locally available within the block, just use
|
||||
// it. This frequently occurs for reg2mem'd allocas.
|
||||
//cerr << "LOAD ELIMINATED:\n" << *BBIt << *LI << "\n";
|
||||
|
||||
// If the returned value is the load itself, replace with an undef. This can
|
||||
// only happen in dead loops.
|
||||
@ -1100,8 +1099,6 @@ bool JumpThreadingPass::SimplifyPartiallyRedundantLoad(LoadInst *LI) {
|
||||
PN->addIncoming(PredV, I->first);
|
||||
}
|
||||
|
||||
//cerr << "PRE: " << *LI << *PN << "\n";
|
||||
|
||||
LI->replaceAllUsesWith(PN);
|
||||
LI->eraseFromParent();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user