mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 11:15:33 +00:00
Add debug output
llvm-svn: 11139
This commit is contained in:
parent
84657fd170
commit
3846a304eb
@ -21,6 +21,7 @@
|
||||
#include "llvm/Analysis/ValueNumbering.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "Support/Statistic.h"
|
||||
#include "Support/Debug.h"
|
||||
#include <algorithm>
|
||||
using namespace llvm;
|
||||
|
||||
@ -165,6 +166,9 @@ bool GCSE::EliminateRedundancies(Instruction *I,
|
||||
//
|
||||
void GCSE::ReplaceInstWithInst(Instruction *First, BasicBlock::iterator SI) {
|
||||
Instruction &Second = *SI;
|
||||
|
||||
DEBUG(std::cerr << "GCSE: Substituting %" << First->getName() << " for: "
|
||||
<< Second);
|
||||
|
||||
//cerr << "DEL " << (void*)Second << Second;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user