OSDN Git Service

update_mir_test_checks: Fix handling of IR input after r326284
authorJustin Bogner <mail@justinbogner.com>
Mon, 12 Mar 2018 18:06:58 +0000 (18:06 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 12 Mar 2018 18:06:58 +0000 (18:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327305 91177308-0d34-0410-b5e6-96231b3b80d8

utils/update_mir_test_checks.py

index a5b1066..56d236d 100755 (executable)
@@ -392,8 +392,8 @@ def update_test_file(llc, test, remove_common_prefixes=False, verbose=False):
             if not m:
                 state = 'ir function body'
                 add_checks_for_function(test, output_lines, run_list,
-                                        func_dict, func_name, add_vreg_checks,
-                                        single_bb=False, verbose=verbose)
+                                        func_dict, func_name, single_bb=False,
+                                        verbose=verbose)
 
             if should_add_line_to_output(input_line, prefix_set):
                 output_lines.append(input_line)