[RFC] Introduce a sparse tensor type to core MLIR

Another thing I forgot to mention is that, although adding a sparse type (in whatever format) will help moving the sparse codegen part in MLIR that I started forward, a much more important objective is underlying to any good retargetable compiler effort, namely allowing several “sparse compiler front-ends” to connect with several “sparse compiler back-ends”. I tried to illustrate my long term vision with some poor ASCII art below. That way, although I enjoyed writing the sparse compiler prototype, the moment a better sparse codegen is written, the community at-large will benefit right way! Likewise, anyone writing a new FE that supports tensors with sparse annotations can feed directly into this new ecosystem.

annotated Python ---                     ---> sparse compiler 1 ---
|                    \                  /                          \
annotated TF -----------> MLIR with  -------> sparse compiler 2 ------> MLIR with -> LLVM IR
|                    /  sparse tensors  \                           /   coiteration
annotated XXX   ----                     ---> sparse compiler 3 ---