This patch is part of a patch series to add support for FileCheck
numeric expressions. This specific patch introduces support for defining
numeric variable in a CHECK directive.
This commit introduces support for defining numeric variable from a
litteral value in the input text. Numeric expressions can then use the
variable provided it is on a later line.
Copyright:
Just curious why we have such a restriction. Could someone elaborate more?
That makes numeric checks on the same line must be written in split like this
CHECK: #VAR:...
CHECK-SAME: #VAR + 1
instead of
CHECK: #VAR:... #VAR + 1
That's quite verbose.