swr/rast: ignore CreateElementUnorderedAtomicMemCpy
authorAlok Hota <alok.hota@intel.com>
Tue, 16 Oct 2018 23:15:29 +0000 (18:15 -0500)
committerAlok Hota <alok.hota@intel.com>
Thu, 25 Oct 2018 16:05:59 +0000 (11:05 -0500)
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

CC: <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107865
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py

index d34e88d1bc93a4a5a582603d3715cf0626932fda..485403ae1ec8570965778ae88d6d6b5f371f4cb2 100644 (file)
@@ -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