mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
swr/rast: remove llvm fence/atomics from generated files
We currently don't use these instructions, and since their API changed in llvm-5.0 having them in the autogen files broke the mesa release tarballs which ship with generated autogen files. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102847 CC: mesa-stable@lists.freedesktop.org Tested-by: Laurent Carlier <lordheavym@gmail.com> Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
d372683339
commit
066d1dc951
1 changed files with 8 additions and 0 deletions
|
|
@ -140,6 +140,14 @@ def parse_ir_builder(input_file):
|
|||
|
||||
ignore = False
|
||||
|
||||
# The following functions need to be ignored in openswr.
|
||||
# API change in llvm-5.0 breaks baked autogen files
|
||||
if (
|
||||
(func_name == 'CreateFence' or
|
||||
func_name == 'CreateAtomicCmpXchg' or
|
||||
func_name == 'CreateAtomicRMW')):
|
||||
ignore = True
|
||||
|
||||
# The following functions need to be ignored.
|
||||
if (func_name == 'CreateInsertNUWNSWBinOp' or
|
||||
func_name == 'CreateMaskedIntrinsic' or
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue