This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower evaluate::Extremum
ClosedPublic

Authored by jeanPerier on Dec 1 2022, 8:53 AM.

Details

Summary

Update BinaryOp<T>::gen so that const T& is threaded and some
operation knowledge that is not encoded by the type T or the arguments
can be used. For Extremum, it is the order (Greater or Lesser) that is
required, but this will also be required for evaluate::Relational.

Diff Detail

Event Timeline

jeanPerier created this revision.Dec 1 2022, 8:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2022, 8:53 AM
jeanPerier requested review of this revision.Dec 1 2022, 8:53 AM
This revision is now accepted and ready to land.Dec 1 2022, 9:03 AM
This revision was automatically updated to reflect the committed changes.