llvm-project
6512ca7d - [mlir] Add `isStatic`* size check for `ShapedType`s. NFCI. (#147085)

Commit
72 days ago
[mlir] Add `isStatic`* size check for `ShapedType`s. NFCI. (#147085) The motivation is to avoid having to negate `isDynamic*` checks, avoid double negations, and allow for `ShapedType::isStaticDim` to be used in ADT functions without having to wrap it in a lambda performing the negation. Also add the new functions to C and Python bindings.
Author
Parents
Loading