update_mir_test_checks: Fix handling of IR input after r326284

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Justin Bogner 2018-03-12 18:06:58 +00:00
parent 475569518b
commit 78c10b0e5a

View File

@ -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)