diff options
author | Devang Patel <dpatel@apple.com> | 2008-02-02 01:43:30 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-02-02 01:43:30 +0000 |
commit | 1cf47cb21728c84342b15d9695b8a2433b3315a2 (patch) | |
tree | 88b8729d75e73e9063aa475f739dcd9e0fb97414 /lib/VMCore/PassManager.cpp | |
parent | bc9ed593d7624eb01b498776042eb438137ef007 (diff) | |
download | external_llvm-1cf47cb21728c84342b15d9695b8a2433b3315a2.zip external_llvm-1cf47cb21728c84342b15d9695b8a2433b3315a2.tar.gz external_llvm-1cf47cb21728c84342b15d9695b8a2433b3315a2.tar.bz2 |
Add comment explaining what is lower level analysis pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/PassManager.cpp')
-rw-r--r-- | lib/VMCore/PassManager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index ae73373..5620d0f 100644 --- a/lib/VMCore/PassManager.cpp +++ b/lib/VMCore/PassManager.cpp @@ -921,6 +921,16 @@ void PMDataManager::addLowerLevelRequiredPass(Pass *P, Pass *RequiredPass) { 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"); } |