swr: [rasterizer jitter] fix llvm-5.0.0 build bustage
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 27 Mar 2017 18:29:31 +0000 (13:29 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 28 Mar 2017 16:46:58 +0000 (11:46 -0500)
Add CreateAlignmentAssumptionHelper to gen_llvm_ir_macros.py ignore list.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/codegen/gen_llvm_ir_macros.py

index dbf56471eec948e053d0896a51949bdb768245f0..2ed2b2f61ebf26a17dafed29d0fb4a4d7b67fe1f 100644 (file)
@@ -140,10 +140,9 @@ def parse_ir_builder(input_file):
                     ignore = False
 
                     # The following functions need to be ignored.
-                    if func_name == 'CreateInsertNUWNSWBinOp':
-                        ignore = True
-
-                    if func_name == 'CreateMaskedIntrinsic':
+                    if (func_name == 'CreateInsertNUWNSWBinOp' or
+                        func_name == 'CreateMaskedIntrinsic' or
+                        func_name == 'CreateAlignmentAssumptionHelper'):
                         ignore = True
 
                     # Convert CamelCase to CAMEL_CASE