[all-commits] [llvm/llvm-project] c0cea2: [Test][FileCheck] Fix use of undef var

llvmbot via All-commits all-commits at lists.llvm.org
Sat Jan 9 02:49:12 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c0cea2d9b8ae4dc47f7737e47a621ddcb9cb57cf
      https://github.com/llvm/llvm-project/commit/c0cea2d9b8ae4dc47f7737e47a621ddcb9cb57cf
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-01-09 (Sat, 09 Jan 2021)

  Changed paths:
    M llvm/test/FileCheck/numeric-expression.txt

  Log Message:
  -----------
  [Test][FileCheck] Fix use of undef var

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.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D93346




More information about the All-commits mailing list