Open phoenix-meadowlark opened 2 years ago
Cool, this is probably the first complex usage down to this layer. It doesn't look like there's a transform that does a complex tensor -> flattened 2xf32 tensor yet, just an mhlo-level at compiler/src/iree/compiler/InputConversion/MHLO/ConvertComplexToReal.cpp
. This would need to run through pre-util.buffer IR during codegen to insert the x2 dimension as once we've type-erased with the !util.buffer we can't change the indexing like that (element N becomes N*2 but only in the original interpretation of the tensor).
What happened?
Compiling the ASR frontend with VMVX causes the following error:
(This has a lower priority than the other issues I've been posting since it only affects VMVX).
Steps to reproduce your issue
Simplified MLIR (no error is raised if the
mhlo.convolution
is elided in the python):What component(s) does this issue relate to?
Compiler
Version information
27960a3246e41acfa79b1101f625fc0a42b404ed
Additional context
No response