|
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, b = "foo", c = "bar", flag = true, array = [1, 2, 3, 4]{{$}} |
| 5 | +// CHECK-SAME: a = 32, b = "foo", c = "bar", flag = true, array = [1, 2, 3, 4], array32 = [5, 6]{{$}} |
6 | 6 | // GENERIC: "test.with_properties"() |
7 | | -// GENERIC-SAME: <{a = 32 : i64, array = array<i64: 1, 2, 3, 4>, b = "foo", c = "bar", flag = true}> : () -> () |
8 | | -test.with_properties a = 32, b = "foo", c = "bar", flag = true, array = [1, 2, 3, 4] |
| 7 | +// GENERIC-SAME: <{a = 32 : i64, array = array<i64: 1, 2, 3, 4>, array32 = array<i32: 5, 6>, b = "foo", c = "bar", flag = true}> : () -> () |
| 8 | +test.with_properties a = 32, b = "foo", c = "bar", flag = true, array = [1, 2, 3, 4], array32 = [5, 6] |
9 | 9 |
|
10 | 10 | // CHECK: test.with_nice_properties |
11 | 11 | // CHECK-SAME: "foo bar" is -3{{$}} |
|
0 commit comments