Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / utils / update_cc_test_checks / generated-funcs-regex.test
blob49c8294983c6eecf0a1eed641585ff1cdf35bd04
1 ## Test that CHECK lines are generated for clang-generated functions replaced
2 ## by regex
4 ## RUN: cp %S/Inputs/generated-funcs-regex.c %t-generated-funcs-regex.c && %update_cc_test_checks --include-generated-funcs --replace-value-regex "__([a-z]+)_offloading_[a-z0-9]+_[a-z0-9]+_(.*)_l[0-9]+" "somevar_[a-z0-9]+_" -- %t-generated-funcs-regex.c
5 # RUN: diff -u %S/Inputs/generated-funcs-regex.c.expected %t-generated-funcs-regex.c
7 ## Check that re-running update_cc_test_checks doesn't change the output
8 # RUN: %update_cc_test_checks %t-generated-funcs-regex.c
9 # RUN: diff -u %S/Inputs/generated-funcs-regex.c.expected %t-generated-funcs-regex.c