[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 07:54:13 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:

Last "\n" is there to avoid trailing `CHECK-EMPTY:`, so I'd like to keep it. And the middle diff - why would we want to have the string be split in two? I can add the "\s*" bit but I don't see much value in it either.

https://github.com/llvm/llvm-project/pull/178736


More information about the llvm-commits mailing list