Skip to content

Commit 303467e

Browse files
committed
Fix mlir/test/IR/test-pattern-logging-listener.mlir lit
1 parent a7528ce commit 303467e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mlir/test/IR/test-pattern-logging-listener.mlir

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
// RUN: --allow-unregistered-dialect --debug-only=pattern-logging-listener 2>&1 | FileCheck %s
33

44
// Check that when replacing an op with a new op, we get appropriate
5-
// pattern-logging lines. The regex is because the anonymous namespace is
5+
// pattern-logging lines. The regex is because theanonymousis
66
// printed differently on different platforms.
77

8-
// CHECK: [pattern-logging-listener] {{.anonymous.namespace.}}::ReplaceWithNewOp | notifyOperationInserted | test.new_op
9-
// CHECK: [pattern-logging-listener] {{.anonymous.namespace.}}::ReplaceWithNewOp | notifyOperationReplaced (with values) | test.replace_with_new_op
10-
// CHECK: [pattern-logging-listener] {{.anonymous.namespace.}}::ReplaceWithNewOp | notifyOperationModified | arith.addi
11-
// CHECK: [pattern-logging-listener] {{.anonymous.namespace.}}::ReplaceWithNewOp | notifyOperationModified | arith.addi
12-
// CHECK: [pattern-logging-listener] {{.anonymous.namespace.}}::ReplaceWithNewOp | notifyOperationErased | test.replace_with_new_op
8+
// CHECK: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationInserted | test.new_op
9+
// CHECK: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationReplaced (with values) | test.replace_with_new_op
10+
// CHECK: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationModified | arith.addi
11+
// CHECK: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationModified | arith.addi
12+
// CHECK: [pattern-logging-listener] {anonymous}::ReplaceWithNewOp | notifyOperationErased | test.replace_with_new_op
1313
func.func @replace_with_new_op() -> i32 {
1414
%a = "test.replace_with_new_op"() : () -> (i32)
1515
%res = arith.addi %a, %a : i32

0 commit comments

Comments
 (0)