[Beignet] [PATCH] correct env var to output llvm IR

Zhigang Gong zhigang.gong at linux.intel.com
Tue Mar 17 01:59:15 PDT 2015


LGTM, pushed, thanks.

On Tue, Mar 17, 2015 at 02:03:19PM +0800, Guo Yejun wrote:
> Signed-off-by: Guo Yejun <yejun.guo at intel.com>
> ---
>  docs/Beignet/Backend.mdwn | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/docs/Beignet/Backend.mdwn b/docs/Beignet/Backend.mdwn
> index e4259fb..cf80318 100644
> --- a/docs/Beignet/Backend.mdwn
> +++ b/docs/Beignet/Backend.mdwn
> @@ -48,10 +48,12 @@ Environment variables are used all over the code. Most important ones are:
>  - `OCL_OUTPUT_GEN_IR` `(0 or 1)`. Output Gen IR (scalar intermediate
>    representation) code
>  
> -- `OCL_OUTPUT_LLVM` `(0 or 1)`. Output LLVM code after the lowering passes
> +- `OCL_OUTPUT_LLVM_BEFORE_LINK` `(0 or 1)`. Output LLVM code before llvm link
>  
> -- `OCL_OUTPUT_LLVM_BEFORE_EXTRA_PASS` `(0 or 1)`. Output LLVM code before the
> -  lowering passes
> +- `OCL_OUTPUT_LLVM_AFTER_LINK` `(0 or 1)`. Output LLVM code after llvm link
> +
> +- `OCL_OUTPUT_LLVM_AFTER_GEN` `(0 or 1)`. Output LLVM code after the lowering
> +  passes, Gen IR is generated based on it.
>  
>  - `OCL_OUTPUT_ASM` `(0 or 1)`. Output Gen ISA
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list