[Mesa-dev] [PATCH 1/1] swr/rast: ignore CreateElementUnorderedAtomicMemCpy

Cherniak, Bruce bruce.cherniak at intel.com
Wed Oct 17 20:09:52 UTC 2018


Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com> 

> On Oct 17, 2018, at 1:51 PM, Alok Hota <alok.hota at intel.com> wrote:
> 
> This function's API changed between LLVM 5 and 6. Compile errors occur
> when building with LLVM 6+ if LLVM 5 was used for a dist tarball
> ---
> .../drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py       | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
> index d34e88d1bc..485403ae1e 100644
> --- a/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
> +++ b/src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py
> @@ -161,7 +161,8 @@ def parse_ir_builder(input_file):
>                         func_name == 'CreateAlignmentAssumptionHelper' or
>                         func_name == 'CreateGEP' or
>                         func_name == 'CreateLoad' or
> -                        func_name == 'CreateMaskedLoad'):
> +                        func_name == 'CreateMaskedLoad' or
> +                        func_name == 'CreateElementUnorderedAtomicMemCpy'):
>                         ignore = True
> 
>                     # Convert CamelCase to CAMEL_CASE
> -- 
> 2.17.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list