[all-commits] [llvm/llvm-project] 1d9d7f: [MLIR, test] Fix use of undef FileCheck var

RoboTux via All-commits all-commits at lists.llvm.org
Tue Apr 6 12:08:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d9d7f6a2c0f6121df9468ea156d3a147c3b604c
      https://github.com/llvm/llvm-project/commit/1d9d7f6a2c0f6121df9468ea156d3a147c3b604c
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M mlir/test/Dialect/Linalg/transform-patterns.mlir

  Log Message:
  -----------
  [MLIR, test] Fix use of undef FileCheck var

MLIR test Dialect/Linalg/transform-patterns.mlir tries to check for the
absence of a sequence of instructions with several CHECK-NOT with one of
those directives using a variable defined in another. However CHECK-NOT
are checked independently so that is using a variable defined in a
pattern that should not occur in the input.

This commit removes the dependency between those CHECK-NOT by replacing
occurences of variables by the regex that were used to define them.

Note to reviewers: please pay attention to whether the remaining
reference to l0 is correct. There was a l0 defined in those CHECK-NOT
and one defined before. I'm not sure what was the intent there.

Reviewed By: nicolasvasilache

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




More information about the All-commits mailing list