summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorAlok Hota <[email protected]>2018-10-16 18:15:29 -0500
committerAlok Hota <[email protected]>2018-10-25 11:05:59 -0500
commitedf38019a070b0d2ce66160fe9ff0a94ce137539 (patch)
treecbbb8d648b87b72a4ef724372a48ed919b74907c /src/gallium/drivers/swr
parent8c872ac2e39affb2df3586a596e44a029535949d (diff)
swr/rast: ignore CreateElementUnorderedAtomicMemCpy
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: <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107865 Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py3
1 files changed, 2 insertions, 1 deletions
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 d34e88d1bc9..485403ae1ec 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