[PATCH] D133297: [TableGen] Document sequence with stride

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 02:11:32 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1427d55d7073: [TableGen] Document sequence with stride (authored by foad).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133297

Files:
  llvm/include/llvm/TableGen/SetTheory.h


Index: llvm/include/llvm/TableGen/SetTheory.h
===================================================================
--- llvm/include/llvm/TableGen/SetTheory.h
+++ llvm/include/llvm/TableGen/SetTheory.h
@@ -38,8 +38,9 @@
 //   the first one. For instance, (decimate S, 2) returns the even elements of
 //   S.
 //
-// - (sequence "Format", From, To) Generate a sequence of defs with printf.
-//   For instance, (sequence "R%u", 0, 3) -> [ R0, R1, R2, R3 ]
+// - (sequence "Format", From, To, [Stride]) Generate a sequence of defs with
+//   printf. For instance, (sequence "R%u", 0, 3) -> [ R0, R1, R2, R3 ] and
+//   (sequence "R%u", 20, 30, 5) -> [ R20, R25, R30 ].
 //
 //===----------------------------------------------------------------------===//
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133297.458388.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220907/bc92108e/attachment.bin>


More information about the llvm-commits mailing list