[llvm] [UpdateTestChecks] Add support for SPIRV in update_llc_test_checks.py (PR #66213)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 09:43:39 PDT 2023
arichardson wrote:
Maybe something like `"[ \t]+; \-\- Begin function (?P<func>[^\n]+)(?P<func_name_separator>)\n(?P<body>.*?)\n[ \t]+; \-\- End function"` would work? By setting func_name_separator to an empty match the CHECK-LABEL string expansion won't add the default value of ":"? Is that sufficient?
```
check_label_format
% (
checkprefix,
funcdef_attrs_and_ret,
func_name,
args_and_sig,
func_name_separator,
)
```
https://github.com/llvm/llvm-project/pull/66213
More information about the llvm-commits
mailing list