[Mlir-commits] [mlir] [mlir] Add `isStatic`* size check for `ShapedType`s. NFCI. (PR #147085)

Maksim Levental llvmlistbot at llvm.org
Fri Jul 4 10:04:36 PDT 2025


================
@@ -292,6 +292,9 @@ MLIR_CAPI_EXPORTED bool mlirShapedTypeHasStaticShape(MlirType type);
 /// Checks wither the dim-th dimension of the given shaped type is dynamic.
 MLIR_CAPI_EXPORTED bool mlirShapedTypeIsDynamicDim(MlirType type, intptr_t dim);
 
+/// Checks wither the dim-th dimension of the given shaped type is static.
----------------
makslevental wrote:

```suggestion
/// Checks whether the dim-th dimension of the given shaped type is static.
```

https://github.com/llvm/llvm-project/pull/147085


More information about the Mlir-commits mailing list