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@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@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits > -- Teresa Johnson | Software Engineer | tejohn...@google.com | 408-460-2413 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits