This is an archive of the discontinued LLVM Phabricator instance.

[flang] Complex constructors are scalar only
ClosedPublic

Authored by klausler on Oct 28 2022, 1:33 PM.

Details

Summary

The common language extension that allows arbitary expressions
to be used as components in a complex constructor (x,y) -- not both
constant, since that would make it a complex literal constant --
still have to be scalar; it's not an elemental operation like the
CMPLX() intrinsic function is.

Diff Detail

Event Timeline

klausler created this revision.Oct 28 2022, 1:33 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 28 2022, 1:33 PM
vdonaldson accepted this revision.Oct 28 2022, 2:13 PM
This revision is now accepted and ready to land.Oct 28 2022, 2:13 PM
This revision was automatically updated to reflect the committed changes.