[all-commits] [llvm/llvm-project] 17f4f2: [MLIR, test] Fix use of undef FileCheck var
RoboTux via All-commits
all-commits at lists.llvm.org
Tue Apr 6 08:58:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 17f4f23eeab402c792fb5c6a8e66be6afd88c33f
https://github.com/llvm/llvm-project/commit/17f4f23eeab402c792fb5c6a8e66be6afd88c33f
Author: Thomas Preud'homme <thomasp at graphcore.ai>
Date: 2021-04-06 (Tue, 06 Apr 2021)
Changed paths:
M mlir/test/Transforms/canonicalize.mlir
Log Message:
-----------
[MLIR, test] Fix use of undef FileCheck var
MLIR test Transforms/canonicalize.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.
Reviewed By: pifon2a
Differential Revision: https://reviews.llvm.org/D99958
More information about the All-commits
mailing list