xref: /llvm-project/mlir/test/Bytecode/operand_segment_sizes.mlir (revision 363b655920c49a4bcb0869f820ed40aac834eebd)
12ef44aa4SMehdi Amini// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
22ef44aa4SMehdi Amini
32ef44aa4SMehdi Amini
42ef44aa4SMehdi Aminifunc.func @roundtripOperandSizeAttr(%arg0: i32) {
5*363b6559SMehdi Amini  // CHECK: operandSegmentSizes = array<i32: 0, 2, 1, 1>}>
6*363b6559SMehdi Amini  "test.attr_sized_operands"(%arg0, %arg0, %arg0, %arg0) <{operandSegmentSizes = array<i32: 0, 2, 1, 1>}> : (i32, i32, i32, i32) -> ()
72ef44aa4SMehdi Amini  return
82ef44aa4SMehdi Amini}
9