[llvm-commits] [llvm] r51892 - /llvm/trunk/lib/VMCore/PassManager.cpp
Owen Anderson
resistor at mac.com
Wed Jun 4 16:20:38 PDT 2008
THANK YOU!
--Owen
On Jun 2, 2008, at 6:20 PM, Devang Patel wrote:
> 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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list