This is an archive of the discontinued LLVM Phabricator instance.

[Flang][OpenMP] Remove TODO for shared and two values of default clause
ClosedPublic

Authored by kiranchandramohan on Jun 29 2022, 2:43 AM.

Details

Summary

Shared is the default behaviour in the IR, so no handling is required.
Default clause with shared or none do not require any handling since
Shared is the default behaviour in the IR and None is only required
for semantic checks.

This patch is carved out from D123930 to remove couple of false TODOs.

Co-authored-by: Nimish Mishra <neelam.nimish@gmail.com>

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 29 2022, 2:43 AM
kiranchandramohan requested review of this revision.Jun 29 2022, 2:43 AM

I need this to enable an application. Assuming D123930 will take a few more days.

clang-format fix

shraiysh accepted this revision.Jun 29 2022, 4:08 AM
This revision is now accepted and ready to land.Jun 29 2022, 4:08 AM
peixin accepted this revision.Jun 29 2022, 4:18 AM

Thanks @kiranchandramohan for making progress for LLVM Flang OpenMP on application, no matter what the application is :).

flang/lib/Lower/OpenMP.cpp
615

It seems american english is preferred for llvm.

625

behavior

Thanks @peixin. :)

Will change spelling while submitting. Application is SNAP. There is still one issue with the aggregate setting of the OpenMPIRBuilder.