summaryrefslogtreecommitdiff
path: root/mlir/test/Bytecode/operand_segment_sizes.mlir
blob: c0379c2994f49f8f697c58dc9ae353c76247a246 (plain)
1
2
3
4
5
6
7
8
// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s


func.func @roundtripOperandSizeAttr(%arg0: i32) {
  // CHECK: operandSegmentSizes = array<i32: 0, 2, 1, 1>}>
  "test.attr_sized_operands"(%arg0, %arg0, %arg0, %arg0) <{operandSegmentSizes = array<i32: 0, 2, 1, 1>}> : (i32, i32, i32, i32) -> ()
  return
}