[RFC] mlir::FloatAttr and legal types

Type interfaces sounds like something quite useful! On the SPIR-V side we would like to reuse DenseElementsAttr for nested array types but right now it is only accepting standard vector/tensor types so ends up we are having inconsistency between the attribute’s type and the spv.constant’s type. :frowning: