diff --git a/llvm/utils/UpdateTestChecks/common.py b/llvm/utils/UpdateTestChecks/common.py index 75c6e43855633..4a02a92f824e6 100644 --- a/llvm/utils/UpdateTestChecks/common.py +++ b/llvm/utils/UpdateTestChecks/common.py @@ -485,7 +485,7 @@ def invoke_tool(exe, cmd_args, ir, preprocess_cmd=None, verbose=False): ) UTC_ARGS_KEY = "UTC_ARGS:" -UTC_ARGS_CMD = re.compile(r".*" + UTC_ARGS_KEY + "\s*(?P.*)\s*$") +UTC_ARGS_CMD = re.compile(r".*" + UTC_ARGS_KEY + r"\s*(?P.*)\s*$") UTC_ADVERT = "NOTE: Assertions have been autogenerated by " UTC_AVOID = "NOTE: Do not autogenerate" UNUSED_NOTE = "NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:"