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:
cd6663b
)
Add more debug output
author
Chris Lattner
<sabre@nondot.org>
Fri, 1 Feb 2002 04:53:36 +0000
(
04:53
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 1 Feb 2002 04:53:36 +0000
(
04:53
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1627
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/PassManagerT.h
patch
|
blob
|
history
diff --git
a/lib/VMCore/PassManagerT.h
b/lib/VMCore/PassManagerT.h
index 5583b9b9187f27ca2176368982b95fbb714fe15f..d5c483f7524d133f60bd9df39b6a3323c6f65a5e 100644
(file)
--- a/
lib/VMCore/PassManagerT.h
+++ b/
lib/VMCore/PassManagerT.h
@@
-128,8
+128,12
@@
public:
#endif
// Run the sub pass!
- MadeChanges |= Traits::runPass(P, M);
+ bool Changed = Traits::runPass(P, M);
+ MadeChanges |= Changed;
+ if (Changed)
+ PMDebug::PrintPassInformation(getDepth()+1, "Made Modification", P,
+ (Value*)M);
PMDebug::PrintAnalysisSetInfo(getDepth(), "Destroyed", P, Destroyed);
PMDebug::PrintAnalysisSetInfo(getDepth(), "Provided", P, Provided);