Skip to content

LLVM: Implement complex constants

Ondřej Čertík requested to merge certik/lfortran:complex_constant into master

@czgdp18071 here is how to create the complex structure and assign something to it using the LLVM C++ API itself. This technique can be used to implement all operations if we want to.

The same technique can also be used to interface the runtime (see !664 (merged)).

Fixes #240 (closed).

Edited by Ondřej Čertík

Merge request reports