[llvm-commits] [llvm] r51892 - /llvm/trunk/lib/VMCore/PassManager.cpp
Devang Patel
dpatel at apple.com
Mon Jun 2 18:20:02 PDT 2008
Author: dpatel
Date: Mon Jun 2 20:20:02 2008
New Revision: 51892
URL: http://llvm.org/viewvc/llvm-project?rev=51892&view=rev
Log:
"Unable to schedule <A> required by <B>" is more helpful then
"Unable to handle Pass that requires 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=51892&r1=51891&r2=51892&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/PassManager.cpp (original)
+++ llvm/trunk/lib/VMCore/PassManager.cpp Mon Jun 2 20:20:02 2008
@@ -930,7 +930,11 @@
// 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");
+#ifndef NDEBUG
+ cerr << "Unable to schedule " << RequiredPass->getPassName();
+ cerr << " required by " << P->getPassName() << "\n";
+#endif
+ assert (0 && "Unable to schedule pass");
}
// Destructor
More information about the llvm-commits
mailing list