[Mlir-commits] [mlir] [mlir][tensor] Preserve encoding in more canonicalizers (concat, reshape, pad) (PR #207241)

Matthias Springer llvmlistbot at llvm.org
Mon Jul 6 00:32:24 PDT 2026


matthias-springer wrote:

> Encodings that do not implement VerifiableTensorEncoding (opaque dict/string/bounds attrs used by downstream dialects) are rank-agnostic

Is this documented somewhere? This is what the documentation of the `VerifiableTensorEncoding` says:
```
        Verifies the encoding is valid for a tensor type with the
        given shape and element type. Generates a diagnostic using
        the supplied callback on failure.
```

This documentation does not specify what happens when an attribute does not implement `VerifiableTensorEncoding`.

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


More information about the Mlir-commits mailing list