[TableGen] Document sequence with stride

Document (in comments) the optional fourth "stride" argument to the
sequence operator, which was added in svn r157416.

Differential Revision: https://reviews.llvm.org/D133297
This commit is contained in:
Jay Foad 2022-09-05 13:20:11 +01:00
parent 9b8b1ac436
commit 1427d55d70
1 changed files with 3 additions and 2 deletions

View File

@ -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 ].
//
//===----------------------------------------------------------------------===//