This is an archive of the discontinued LLVM Phabricator instance.

[flang] fold LOGICAL intrinsic calls
ClosedPublic

Authored by jeanPerier on Mar 25 2021, 8:40 AM.

Details

Summary

Folding of LOGICAL intrinsic procedure was missing in the front-end causing
crash when using it in parameter expressions.
Simply fold LOGICAL calls to evaluate::Convert<T>.

Diff Detail

Event Timeline

jeanPerier created this revision.Mar 25 2021, 8:40 AM
jeanPerier requested review of this revision.Mar 25 2021, 8:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2021, 8:40 AM
PeteSteinfeld accepted this revision.Mar 25 2021, 10:10 AM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Mar 25 2021, 10:10 AM
klausler accepted this revision.Mar 25 2021, 10:22 AM
This revision was automatically updated to reflect the committed changes.