[PATCH] D79836: [mlir] Change generate-test-checks.py to `%[[V:.*]]` style

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 15:17:31 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0aa97ad5c8a6: [mlir] Change generate-test-checks.py to `%[[V:.*]]` style (authored by silvas).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79836

Files:
  mlir/utils/generate-test-checks.py


Index: mlir/utils/generate-test-checks.py
===================================================================
--- mlir/utils/generate-test-checks.py
+++ mlir/utils/generate-test-checks.py
@@ -75,11 +75,11 @@
 
     # If one exists, then output the existing name.
     if variable is not None:
-      output_line += '[[' + variable + ']]'
+      output_line += '%[[' + variable + ']]'
     else:
       # Otherwise, generate a new variable.
       variable = variable_namer.generate_name(ssa_name)
-      output_line += '[[' + variable + ':%.*]]'
+      output_line += '%[[' + variable + ':.*]]'
 
     # Append the non named group.
     output_line += chunk[len(ssa_name):]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79836.263866.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200513/2bf0cda4/attachment.bin>


More information about the llvm-commits mailing list