[all-commits] [llvm/llvm-project] 23c3eb: [mlir][Complex] Change complex.number attribute ty...
Adrian Kuegel via All-commits
all-commits at lists.llvm.org
Thu Jul 28 12:25:41 PDT 2022
Author: Adrian Kuegel <akuegel at google.com>
Date: 2022-07-28 (Thu, 28 Jul 2022)
[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
More information about the All-commits