Move createEliminateAvailableExternallyPass earlier

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 13:56:49 PDT 2015


Hi Yaron,

Thanks, moving it earlier in general seems ok to me. I originally put
this right before the GlobalDCE calls because it was somewhat related.
I wonder if the createEliminateAvailableExternallyPass call for the
LTO pipeline should similarly be moved up closer to inlining, perhaps
after any IP alias analysis passes? Hopefully someone more familiar
with the passes than I will comment on how early we can do this.

Teresa

On Tue, Sep 1, 2015 at 1:32 PM, Yaron Keren via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Following the discussion on cfe-dev, this moves
> createEliminateAvailableExternallyPass earlier in the pass pipeline to save
> running many ModulePasses on available external functions that are thrown
> away anyhow.
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>



-- 
Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413


More information about the cfe-commits mailing list