2 Commits

Author SHA1 Message Date
Lei Zhang
52aaac635a [mlir][spirv][complex] Support convert complex.constant
Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D151622
2023-05-29 17:54:28 -07:00
Lei Zhang
c312ce0a1d [mlir][spirv][complex] Convert complex ops to SPIR-V ops
This commit adds conversion from complex construction and
extraction ops to SPIR-V. Other arithemtic ops can be done
via ComplexToStandard patterns.

Reviewed By: kuhar

Differential Revision: https://reviews.llvm.org/D147193
2023-03-30 09:13:56 -07:00