[llvm] [UTC][VPlan] Use `-vplan-print-after` for VPlan-dump-based tests (PR #178736)
Andrei Elovikov via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 11 08:16:56 PST 2026
================
@@ -597,6 +597,10 @@ def invoke_tool(exe, cmd_args, ir, preprocess_cmd=None, verbose=False):
r"^\s*\'(?P<func>[\w.$-]+?)\'[^\n]*" r"\s*\n(?P<body>.*)$", flags=(re.X | re.S)
)
+VPLAN_RE = re.compile(
+ r"\'(?P<func>[\w.$-]+?)\'[^\n]*\n(?P<body>.*)\n$", flags=(re.X | re.S)
----------------
eas wrote:
I can, but I'd like someone else to state that that's their preference too. I don't see that being done in other places except `LOOP_PASS_DEBUG_RE` (and I had spent quite some time trying to understand why, was initially confused that's two arguments - didn't notice there is no comma between two string on the same line):
https://github.com/llvm/llvm-project/blob/e46f57bf5f7ddab430b7b871ce1573f4ab184d9d/llvm/utils/UpdateTestChecks/common.py#L584-L588
no line split for groups (e.g., in between `<attrs>` / `<funcdef_attrs_and_ret>` / `<func>`), only at line split due to line being too long.
https://github.com/llvm/llvm-project/blob/e46f57bf5f7ddab430b7b871ce1573f4ab184d9d/llvm/utils/UpdateTestChecks/common.py#L590-L594
split at column 81, don't think it's more than that.
https://github.com/llvm/llvm-project/pull/178736
More information about the llvm-commits
mailing list