Reorder passes a bit. In particular, it makes sense to run globaldce IMMEDIATELY...
authorChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2003 21:44:35 +0000 (21:44 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 21 Nov 2003 21:44:35 +0000 (21:44 +0000)
commit14b170f5ffaf64090b788b004b09740905aa2711
treef44468327a476921a2c89557e8e543a7dc064202
parentafd0b4b24af31734d951d1723f60f0f4c841f6ea
Reorder passes a bit.  In particular, it makes sense to run globaldce IMMEDIATELY after funcresolve.  Also, run the mem2reg pass _early_ so that IPCP and DAE actually do stuff.
Run instcombine and simplify cfg after this to cleanup the intraprocedural messes we create.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10134 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gccas/gccas.cpp