This patch simply removes one of the pre-conditions of scalable
vectorisation. Namely, that only the trailing vector dimension can be
scalable, e.g.
vector<2x4x[8]xi32>
This limitation can be lifted following the recent work to support
scalable vectorisation in Linalg, most notably:
A test is added that demonstrates scalable vectorisation of
linalg.matmul. This is simply a copy of a similar test for fixed-width
vectorisation. The latter is updated - check lines are simplified and
annotated with regex patterns. This in the spirit of [1]:
Tests should be minimal, and only check what is absolutely necessary.
Note that this is merely one step towards scalable vectorisation in
Linalg. This patch should allow us to exercise new code paths in the
context of scalable vectors in Linalg.
[1] https://mlir.llvm.org/getting_started/TestingGuide/#filecheck-best-practices