[llvm-commits] [llvm] r46658 - /llvm/trunk/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Fri Feb 1 17:43:30 PST 2008
Author: dpatel
Date: Fri Feb 1 19:43:30 2008
New Revision: 46658
URL: http://llvm.org/viewvc/llvm-project?rev=46658&view=rev
Log:
Add comment explaining what is lower level analysis pass.
Modified:
llvm/trunk/lib/VMCore/PassManager.cpp
Modified: llvm/trunk/lib/VMCore/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/PassManager.cpp?rev=46658&r1=46657&r2=46658&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Fri Feb 1 19:43:30 2008
@@ -921,6 +921,16 @@
TPM->dumpArguments();
TPM->dumpPasses();
}
+
+ // Module Level pass may required Function Level analysis info
+ // (e.g. dominator info). Pass manager uses on the fly function pass manager
+ // to provide this on demand. In that case, in Pass manager terminology,
+ // module level pass is requiring lower level analysis info managed by
+ // lower level pass manager.
+
+ // When Pass manager is not able to order required analysis info, Pass manager
+ // checks whether any lower level manager will be able to provide this
+ // analysis info on demand or not.
assert (0 && "Unable to handle Pass that requires lower level Analysis pass");
}
More information about the llvm-commits
mailing list