Brian Gaeke 7ff4006f82 Fix problem with inserting FunctionPasses that depend on ImmutablePasses
(e.g., LICM) into FunctionPassManagers. The problem is that we were
using a C-style cast to cast required analysis passes to PassClass*, but
if it's a FunctionPassManager, and the required analysis pass is an
ImmutablePass, the types aren't really compatible, so the C-style cast
causes a crash.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15140 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-23 19:35:50 +00:00
..
2004-07-18 01:04:19 +00:00
2004-07-17 23:47:01 +00:00
2004-06-08 17:53:24 +00:00
2004-06-08 17:53:24 +00:00
2004-07-15 01:29:12 +00:00
2004-07-17 23:50:19 +00:00
2004-05-26 22:07:18 +00:00
2004-07-18 00:03:48 +00:00
2004-06-27 18:38:48 +00:00
2004-06-27 18:38:48 +00:00
2004-05-26 22:07:18 +00:00
2004-07-15 01:29:12 +00:00
2004-07-17 23:50:57 +00:00
2004-07-08 22:09:34 +00:00
2004-07-17 23:53:23 +00:00
2004-07-17 23:57:36 +00:00
2004-07-18 00:01:50 +00:00