1 // This file contains test cases related to the dialect post-parsing upgrade
3 // COM: those tests parse bytecode that was generated before test dialect
4 // adopted `usePropertiesFromAttributes`.
6 //===--------------------------------------------------------------------===//
8 //===--------------------------------------------------------------------===//
10 // COM: bytecode contains
13 // COM: test.with_versioned_properties 1 | 2
15 // RUN: mlir-opt %S/versioned-op-with-native-prop-2.0.mlirbc 2>&1 | FileCheck %s --check-prefix=CHECK1
16 // CHECK1: test.with_versioned_properties 1 | 2
18 //===--------------------------------------------------------------------===//
20 //===--------------------------------------------------------------------===//
22 // COM: bytecode contains
27 // RUN: mlir-opt %S/versioned-op-with-native-prop-1.12.mlirbc 2>&1 | FileCheck %s --check-prefix=CHECK3
28 // CHECK3: test.with_versioned_properties 1 | 0