Leaving this field unitialized could led to crashes when it'll diverge from the IRNumbering phase. Differential Revision: https://reviews.llvm.org/D156965
9 lines
324 B
MLIR
9 lines
324 B
MLIR
// RUN: mlir-opt -emit-bytecode %s | mlir-opt | FileCheck %s
|
|
|
|
|
|
func.func @roundtripOperandSizeAttr(%arg0: i32) {
|
|
// CHECK: odsOperandSegmentSizes = array<i32: 0, 2, 1, 1>}>
|
|
"test.attr_sized_operands"(%arg0, %arg0, %arg0, %arg0) <{odsOperandSegmentSizes = array<i32: 0, 2, 1, 1>}> : (i32, i32, i32, i32) -> ()
|
|
return
|
|
}
|