[PATCH] D86068: [utils] Python utils script extract_vplan.py to extract VPlan digraphs regexp fix

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 00:57:45 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc78993955ebe: [utils] Fix regexp in llvm/utils/extract_vplan.py to extract VPlans. (authored by Kazhuu, committed by fhahn).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86068/new/

https://reviews.llvm.org/D86068

Files:
  llvm/utils/extract_vplan.py


Index: llvm/utils/extract_vplan.py
===================================================================
--- llvm/utils/extract_vplan.py
+++ llvm/utils/extract_vplan.py
@@ -24,7 +24,7 @@
 matches = re.findall(pattern, sys.stdin.read())
 
 for vplan in matches:
-    m = re.search("graph \[.+(VF=.+,UF.+), ", vplan)
+    m = re.search("graph \[.+(VF=.+,UF.+)", vplan)
     if not m:
         raise ValueError("Can't get the right VPlan name")
     name = re.sub('[^a-zA-Z0-9]', '', m.group(1))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86068.286498.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200819/379ba4b1/attachment.bin>


More information about the llvm-commits mailing list