mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 07:06:05 +00:00

This renaming started with the native ODS support for properties, this is completing it. A mass automated textual rename seems safe for most codebases. Drop also the ods prefix to keep the accessors the same as they were before this change: properties.odsOperandSegmentSizes reverts back to: properties.operandSegementSizes The ODS prefix was creating divergence between all the places and make it harder to be consistent. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D157173
9 lines
318 B
MLIR
9 lines
318 B
MLIR
// 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
|
|
}
|