Reviewed-by: Vincent Lejeune <vljn at ovi.com>



----- Mail original -----
> De : Christian König <deathsim...@vodafone.de>
> À : mesa-dev@lists.freedesktop.org
> Cc : mic...@daenzer.net
> Envoyé le : Mardi 5 mars 2013 15h27
> Objet : [Mesa-dev] [PATCH 7/7] radeon/llvm: enable LICM and DCE pass
> 
> From: Christian König <christian.koe...@amd.com>
> 
> Signed-off-by: Christian König <christian.koe...@amd.com>
> ---
> .../drivers/radeon/radeon_setup_tgsi_llvm.c        |    2 ++
> 1 file changed, 2 insertions(+)
> 
> diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c 
> b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> index f7b7586..f017b87 100644
> --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> @@ -1281,6 +1281,8 @@ void radeon_llvm_finalize_module(struct 
> radeon_llvm_context * ctx)
> 
>     /* Add some optimization passes */
>     LLVMAddScalarReplAggregatesPass(gallivm->passmgr);
> +    LLVMAddLICMPass(gallivm->passmgr);
> +    LLVMAddAggressiveDCEPass(gallivm->passmgr);
>     LLVMAddCFGSimplificationPass(gallivm->passmgr);
> 
>     /* Run the passs */
> -- 
> 1.7.9.5
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to