[cfe-commits] [PATCH] Fix non-function CodeGen passes

Daniel Dunbar daniel at zuster.org
Fri Sep 17 00:37:02 PDT 2010


Applied here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=114171

Bill, can you forward this to 2.8 pretty pretty please?

Thanks!
 - Daniel

On Mon, Sep 13, 2010 at 3:09 AM, Mike Gist <Mike.Gist at imgtec.com> wrote:
> Hi,
>
>
>
> CodeGen passes added by ‘addPassesToEmitFile’ can no longer be CallGraphSCC
> or Module passes.
>
> I’m attaching a patch which fixes this issue (using a PassManager for
> CodeGen passes instead of a FunctionPassManager, which is consistent with
> llc’s behaviour).
>
> This appears to be a regression from 2.7 so I’d be grateful if this fix was
> merged into the 2.8 branch as well.
>
>
>
> Thanks,
>
>
>
> Mike
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>




More information about the cfe-commits mailing list