[mlir][Complex] Change complex.number attribute type to ComplexType.
It is more useful to use ComplexType as type of the attribute than to use the element type as attribute type. This means when using this attribute in complex::ConstantOp, we just need to check whether the types match. Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D130703
parent
02871701
Please register or sign in to comment