[Libclc-dev] [PATCH 1/1] r600: Fix get_work_dim range metadata

Matt Arsenault Matthew.Arsenault at amd.com
Tue Oct 21 17:18:40 PDT 2014


On 10/21/2014 05:00 PM, Jan Vesely wrote:
> "The pair a,b represents the range [a,b)."
>
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
>
> sorry about that.
> Fixes compilation with recent llvm
>
>   r600/lib/workitem/get_work_dim.ll | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/r600/lib/workitem/get_work_dim.ll b/r600/lib/workitem/get_work_dim.ll
> index b02ef74..1220153 100644
> --- a/r600/lib/workitem/get_work_dim.ll
> +++ b/r600/lib/workitem/get_work_dim.ll
> @@ -5,4 +5,4 @@ define i32 @get_work_dim() nounwind readnone alwaysinline {
>     ret i32 %x
>   }
>   
> -!0 = metadata !{ i8 1, i8 2, i8 3 }
> +!0 = metadata !{ i32 1, i32 4 }
LGTM




More information about the Libclc-dev mailing list