[PATCH] Add target analysis passes to the codegen pipeline for MCJIT

Juergen Ributzka juergen at apple.com
Tue Jan 21 18:53:22 PST 2014


The only passes targets placed so far into “addAnalysisPasses” are the target specific TargetTransformInfo passes. They only provide more accurate answers to target hooks and cost models. Of course this might lead to different code paths taken by optimization passes that depend on it, but I don’t know what the actual overhead of that is. 

On Jan 21, 2014, at 4:47 PM, Kaylor, Andrew <andrew.kaylor at intel.com> wrote:

> What’s the impact of these passes on compile time?
>  
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-bounces at cs.uiuc.edu] On Behalf Of Juergen Ributzka
> Sent: Tuesday, January 21, 2014 10:30 AM
> To: LLVM Commits
> Subject: [PATCH] Add target analysis passes to the codegen pipeline for MCJIT
>  
> Hi @ll,
> 
> for some reason we forgot to add the target specific analysis passes to the codgen pipeline of MCJIT. All other tools (llc, etc) use these passes and so should MCJIT.
> 
> This patch adds the missing passes to the codegen pipeline. It also exposes the AddAnalysisPasses method through the C API, because the optimizer passes could also benefit from it.
> 
> Cheers,
> Juergen
> 
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140121/58928f56/attachment.html>


More information about the llvm-commits mailing list