projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d4a28
)
Add debug output to this pass.
author
Dan Gohman
<gohman@apple.com>
Thu, 25 Sep 2008 01:06:50 +0000
(
01:06
+0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 25 Sep 2008 01:06:50 +0000
(
01:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56602
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/DeadMachineInstructionElim.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/DeadMachineInstructionElim.cpp
b/lib/CodeGen/DeadMachineInstructionElim.cpp
index 881df1e6b6673dd3f1d1041f439805c4d1f54972..718b6e2a5aac0aae11649f47669a96d8f6ae2443 100644
(file)
--- a/
lib/CodeGen/DeadMachineInstructionElim.cpp
+++ b/
lib/CodeGen/DeadMachineInstructionElim.cpp
@@
-16,6
+16,7
@@
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/Compiler.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
using namespace llvm;
@@
-109,6
+110,7
@@
bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {
// If the instruction is dead, delete it!
if (isDead(MI)) {
+ DOUT << "DeadMachineInstructionElim: DELETING: " << *MI;
AnyChanges = true;
MI->eraseFromParent();
MIE = MBB->rend();