2023-10-31 15:41:29 -07:00
|
|
|
// RUN: mlir-opt %s -split-input-file --test-bytecode-roundtrip="test-kind=3" | FileCheck %s --check-prefix=TEST_3
|
|
|
|
|
// RUN: mlir-opt %s -split-input-file --test-bytecode-roundtrip="test-kind=4" | FileCheck %s --check-prefix=TEST_4
|
2023-07-28 10:43:51 -07:00
|
|
|
|
|
|
|
|
"test.versionedC"() <{attribute = #test.attr_params<42, 24>}> : () -> ()
|
|
|
|
|
|
|
|
|
|
// TEST_3: Overriding TestAttrParamsAttr encoding...
|
|
|
|
|
// TEST_3: "test.versionedC"() <{attribute = dense<[42, 24]> : tensor<2xi32>}> : () -> ()
|
|
|
|
|
|
|
|
|
|
// -----
|
|
|
|
|
|
|
|
|
|
"test.versionedC"() <{attribute = dense<[42, 24]> : tensor<2xi32>}> : () -> ()
|
|
|
|
|
|
|
|
|
|
// TEST_4: Overriding parsing of TestAttrParamsAttr encoding...
|
|
|
|
|
// TEST_4: "test.versionedC"() <{attribute = #test.attr_params<42, 24>}> : () -> ()
|