xref: /llvm-project/mlir/test/Bytecode/operand_segment_sizes.mlir (revision 363b655920c49a4bcb0869f820ed40aac834eebd)
1// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
2
3
4func.func @roundtripOperandSizeAttr(%arg0: i32) {
5  // CHECK: operandSegmentSizes = array<i32: 0, 2, 1, 1>}>
6  "test.attr_sized_operands"(%arg0, %arg0, %arg0, %arg0) <{operandSegmentSizes = array<i32: 0, 2, 1, 1>}> : (i32, i32, i32, i32) -> ()
7  return
8}
9