This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower real comparison operations
ClosedPublic

Authored by clementval on Feb 25 2022, 5:41 AM.

Details

Summary

This patch handles the lowering of real
comparison operations. The real comparison operations
are lowered to arith.cmpf operation.

This patch is part of the upstreaming effort from fir-dev branch.

Diff Detail

Event Timeline

clementval created this revision.Feb 25 2022, 5:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2022, 5:41 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Feb 25 2022, 5:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 25 2022, 5:41 AM
rovka added a subscriber: rovka.Feb 25 2022, 6:28 AM
rovka added inline comments.
flang/test/Lower/real-operations-1.f90
2

Different patch?

flang/test/Lower/real-operations-2.f90
72

Different patch?

@clementval , I get errors when I try to fetch this patch. This prevents me from reviewing it.

Does this depend on one of the other patches?

Does this depend on one of the other patches?

Yes just added the dependence.

PeteSteinfeld accepted this revision.Feb 25 2022, 10:16 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Feb 25 2022, 10:16 AM
schweitz accepted this revision.Feb 25 2022, 11:53 AM
This revision was landed with ongoing or failed builds.Feb 25 2022, 12:03 PM
This revision was automatically updated to reflect the committed changes.