This is an archive of the discontinued LLVM Phabricator instance.

[flang][OpenMP][NFC] Cleanup the sections tests
ClosedPublic

Authored by shraiysh on May 25 2022, 4:41 AM.

Details

Summary

This patch cleans up the sections tests as per the recent effort to
separate integration tests from unit tests.

Diff Detail

Event Timeline

shraiysh created this revision.May 25 2022, 4:41 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
shraiysh requested review of this revision.May 25 2022, 4:41 AM

The lines in FIRDialect are just changed to CHECK lines. They have not been changed otherwise (even though the phabricator diff view suggests that they have been changed by a lot)

peixin accepted this revision.May 26 2022, 4:09 AM

LGTM

This revision is now accepted and ready to land.May 26 2022, 4:09 AM

BTW, can you create one more PR to fix all the tests under flang/Lower/OpenMP? Others will then follow the same style.

BTW, can you create one more PR to fix all the tests under flang/Lower/OpenMP? Others will then follow the same style.

This is in my plan for completing upstreaming.

BTW, can you create one more PR to fix all the tests under flang/Lower/OpenMP? Others will then follow the same style.

This is in my plan for completing upstreaming.

It sounds great. Please also check if there are left test cases not upstreamed.

Yes, thank you. I was trying to find this file yesterday but for some reason I was not able to find it. Thank you. I am adding test there too.

shraiysh updated this revision to Diff 432285.May 26 2022, 7:46 AM

Added suggested testcase in convert-to-llvm-openmp-and-fir.fir

This revision was automatically updated to reflect the committed changes.