Looks like a legacy artifact. When this operation was first introduced, it only filled memrefs only accepted float/integer/vector types. Neither is true anymore, so I would suggest relaxing the condition to AnyType and adding the verifier that the type matches the elemental type of the shaped container. This is similar to ohw GenericOp is set up.