This is an archive of the discontinued LLVM Phabricator instance.

[Flang][OpenMP] Fix a corner case where target region is empty
ClosedPublic

Authored by kiranchandramohan on Feb 15 2023, 8:22 AM.

Diff Detail

Event Timeline

Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
kiranchandramohan requested review of this revision.Feb 15 2023, 8:22 AM
psoni2628 accepted this revision.Feb 15 2023, 9:50 AM
This revision is now accepted and ready to land.Feb 15 2023, 9:50 AM
raghavendhra added inline comments.Feb 15 2023, 2:09 PM
flang/lib/Semantics/check-omp-structure.cpp
2642–2656

Nit : Tabs here, Can you please change them to spaces? Otherwise LGTM.

flang/lib/Semantics/check-omp-structure.cpp
2642–2656

@raghavendhra Thanks for having a look. I did not see tabs when I fetched this patch locally. Also, clang-format has passed in the CI, clang-format converts tabs to spaces and would have issued an error if it saw a diff after running. So I guess this is OK.
If I have missed something, feel free to submit a fix.