summaryrefslogtreecommitdiff
path: root/utils/update_cc_test_checks.py
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-03-14 17:47:07 +0000
committerFangrui Song <maskray@google.com>2018-03-14 17:47:07 +0000
commit9c2e5e4f7854b75acaf1c57075752d7590b74939 (patch)
tree161d9f16fa467da68df84d0048c7e4542673e5ae /utils/update_cc_test_checks.py
parentf446c68a19af28e47b987f8eaaece9f5d721a7d6 (diff)
Fix LLVM IR check lines in utils/update_cc_test_checks.py
Reviewers: arichardson Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D44400 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/update_cc_test_checks.py')
-rwxr-xr-xutils/update_cc_test_checks.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/update_cc_test_checks.py b/utils/update_cc_test_checks.py
index 4e249f84ae5..865ebf7ff57 100755
--- a/utils/update_cc_test_checks.py
+++ b/utils/update_cc_test_checks.py
@@ -226,8 +226,7 @@ def main():
if added:
output_lines.append('//')
added.add(mangled)
- # This is also used for adding IR CHECK lines.
- asm.add_asm_checks(output_lines, '//', run_list, func_dict, mangled)
+ common.add_ir_checks(output_lines, '//', run_list, func_dict, mangled)
output_lines.append(line.rstrip('\n'))
# Update the test file.