|
2 | 2 | // # RUN: mlir-opt %s -mlir-print-op-generic -split-input-file | mlir-opt -mlir-print-op-generic | FileCheck %s --check-prefix=GENERIC
|
3 | 3 |
|
4 | 4 | // CHECK: test.with_properties
|
5 |
| -// CHECK-SAME: <{a = 32 : i64, array = array<i64: 1, 2, 3, 4>, b = "foo"}> |
| 5 | +// CHECK-SAME: <{a = 32 : i64, array = array<i64: 1, 2, 3, 4>, b = "foo"}>{{$}} |
6 | 6 | // GENERIC: "test.with_properties"()
|
7 | 7 | // GENERIC-SAME: <{a = 32 : i64, array = array<i64: 1, 2, 3, 4>, b = "foo"}> : () -> ()
|
8 | 8 | test.with_properties <{a = 32 : i64, array = array<i64: 1, 2, 3, 4>, b = "foo"}>
|
9 | 9 |
|
10 | 10 | // CHECK: test.with_nice_properties
|
11 |
| -// CHECK-SAME: "foo bar" is -3 |
| 11 | +// CHECK-SAME: "foo bar" is -3{{$}} |
12 | 12 | // GENERIC: "test.with_nice_properties"()
|
13 | 13 | // GENERIC-SAME: <{prop = {label = "foo bar", value = -3 : i32}}> : () -> ()
|
14 | 14 | test.with_nice_properties "foo bar" is -3
|
15 | 15 |
|
16 | 16 | // CHECK: test.with_wrapped_properties
|
17 |
| -// CHECK-SAME: "content for properties" |
| 17 | +// CHECK-SAME: <{prop = "content for properties"}>{{$}} |
18 | 18 | // GENERIC: "test.with_wrapped_properties"()
|
19 | 19 | // GENERIC-SAME: <{prop = "content for properties"}> : () -> ()
|
20 | 20 | test.with_wrapped_properties <{prop = "content for properties"}>
|
21 | 21 |
|
22 | 22 | // CHECK: test.using_property_in_custom
|
23 |
| -// CHECK-SAME: [1, 4, 20] |
| 23 | +// CHECK-SAME: [1, 4, 20]{{$}} |
24 | 24 | // GENERIC: "test.using_property_in_custom"()
|
25 | 25 | // GENERIC-SAME: prop = array<i64: 1, 4, 20>
|
26 | 26 | test.using_property_in_custom [1, 4, 20]
|
27 | 27 |
|
28 | 28 | // CHECK: test.using_property_ref_in_custom
|
29 |
| -// CHECK-SAME: 1 + 4 = 5 |
| 29 | +// CHECK-SAME: 1 + 4 = 5{{$}} |
30 | 30 | // GENERIC: "test.using_property_ref_in_custom"()
|
31 | 31 | // GENERIC-SAME: <{
|
32 | 32 | // GENERIC-SAME: first = 1
|
|
0 commit comments