This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix CMPLX folding with complex arguments
ClosedPublic

Authored by jeanPerier on Jul 30 2020, 5:34 AM.

Details

Summary

CMPLX folding was expecting only one arguments in case X argument
is complex. This is wrong since there is also the optional KIND
argument.

Diff Detail

Event Timeline

jeanPerier created this revision.Jul 30 2020, 5:34 AM
Herald added a project: Restricted Project. · View Herald Transcript
jeanPerier requested review of this revision.Jul 30 2020, 5:34 AM
schweitz accepted this revision.Jul 30 2020, 3:35 PM
This revision is now accepted and ready to land.Jul 30 2020, 3:35 PM
This revision was automatically updated to reflect the committed changes.