Skip to content

Commit 8cf021e

Browse files
committed
Format
1 parent 0c029ba commit 8cf021e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mlir/include/mlir-c/BuiltinTypes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ MLIR_CAPI_EXPORTED bool mlirShapedTypeIsDynamicStrideOrOffset(int64_t val);
320320
MLIR_CAPI_EXPORTED bool mlirShapedTypeIsStaticStrideOrOffset(int64_t val);
321321

322322
/// Returns the value indicating a dynamic stride or offset in a shaped type.
323-
/// Prefer mlirShapedTypeGetDynamicStrideOrOffset to direct comparisons with
324-
/// this value.
323+
/// Prefer mlirShapedTypeIsDynamicStrideOrOffset and
324+
/// mlirShapedTypeIsStaticStrideOrOffset to direct comparisons with this value.
325325
MLIR_CAPI_EXPORTED int64_t mlirShapedTypeGetDynamicStrideOrOffset(void);
326326

327327
//===----------------------------------------------------------------------===//

mlir/test/python/ir/builtin_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,12 @@ def testConcreteShapedType():
346346
# CHECK: is_dynamic_stride_or_offset_with_dynamic: True
347347
print(
348348
"is_dynamic_stride_or_offset_with_dynamic:",
349-
vector.is_dynamic_stride_or_offset(dynamic_stride_val)
349+
vector.is_dynamic_stride_or_offset(dynamic_stride_val),
350350
)
351351
# CHECK: is_static_stride_or_offset_with_dynamic: False
352352
print(
353353
"is_static_stride_or_offset_with_dynamic:",
354-
vector.is_static_stride_or_offset(dynamic_stride_val)
354+
vector.is_static_stride_or_offset(dynamic_stride_val),
355355
)
356356
# CHECK: isinstance(ShapedType): True
357357
print("isinstance(ShapedType):", isinstance(vector, ShapedType))

0 commit comments

Comments
 (0)