Add support for the .and. reduction operator
in Flang/OpenACC lowering.
Depends on D154888
Paths
| Differential D154896
[flang][openacc] Support .and. reduction operator ClosedPublic Authored by clementval on Jul 10 2023, 2:52 PM.
Details
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 10 2023, 2:52 PM clementval added a child revision: D154898: [flang][openacc] Support .or. reduction operator.Jul 10 2023, 2:53 PM
clementval added inline comments. This revision is now accepted and ready to land.Jul 12 2023, 11:18 AM Closed by commit rG664575a9a947: [flang][openacc] Support .and. reduction operator (authored by clementval). · Explain WhyJul 12 2023, 12:55 PM This revision was automatically updated to reflect the committed changes. clementval marked 2 inline comments as done.
Revision Contents
Diff 539688 flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-reduction.f90
|
What happens if integer type is used with .and. operator? What concerns me here is by checking on type, it assumes that operand is logical type. Maybe it might be better to check for operator, then check for logical type (and generate error if not true).