[PATCH] D45272: [UpdateTestChecks] Add update_analyze_test_checks.py for cost model analysis generation
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 4 11:29:02 PDT 2018
MaskRay added inline comments.
================
Comment at: utils/UpdateTestChecks/common.py:168
-def add_ir_checks(output_lines, comment_marker, prefix_list, func_dict, func_name):
- # Label format is based on IR string.
- check_label_format = '{} %s-LABEL: @%s('.format(comment_marker)
-
+def add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_format):
printed_prefixes = []
----------------
There is also a similar function `add_asm_checks` in `utils/UpdateTestChecks/asm.py`
Someone should unify it with this function
Repository:
rL LLVM
https://reviews.llvm.org/D45272
More information about the llvm-commits
mailing list