9 lines · plain
1// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s2 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 return8}9