The test related to directives with prefix NUMEXPR-CONSTRAINT-NOMATCH
refers to the numeric variable UNSI which is defined by a directive with
prefix CHECK not enabled on the lit command-line. Rather than adding the
prefix CHECK to the lit command-line, this commit defined variable UNSI
in a new NUMEXPR-CONSTRAINT-NOMATCH prefixed directive. The directive
needs to contain more than just the variable otherwise the error message
from FileCheck is about the wrong line being matched.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/FileCheck/numeric-expression.txt | ||
---|---|---|
249 | Rather than requiring the whole CHECK patterns to be checked as part of this, would it make more sense to just use -D to define UNSI, something like the suggested edit? |
Rather than requiring the whole CHECK patterns to be checked as part of this, would it make more sense to just use -D to define UNSI, something like the suggested edit?