This is an archive of the discontinued LLVM Phabricator instance.

[mlir][OpenMP][NFC] Removing unnecessary builders for wsloop
ClosedPublic

Authored by shraiysh on Feb 24 2022, 8:27 PM.

Details

Summary

This patch removes the builders for omp.wsloop operation that aren't
specifically needed anywhere. We can add them later if the need arises.

Diff Detail

Event Timeline

shraiysh created this revision.Feb 24 2022, 8:27 PM
shraiysh requested review of this revision.Feb 24 2022, 8:27 PM

Although this should not usually matter, there are probably some downstream uses and we are in the process of upstreaming. Can these be also adjusted if these builders are removed?
https://github.com/flang-compiler/f18-llvm-project/blob/fe41a43af68e097b8c3ee2ea1ee2042c02956e90/flang/lib/Lower/OpenMP.cpp#L634

shraiysh added a comment.EditedFeb 25 2022, 10:15 PM

Although this should not usually matter, there are probably some downstream uses and we are in the process of upstreaming. Can these be also adjusted if these builders are removed?
https://github.com/flang-compiler/f18-llvm-project/blob/fe41a43af68e097b8c3ee2ea1ee2042c02956e90/flang/lib/Lower/OpenMP.cpp#L634

Sure Kiran, I will cherry-pick this to fir-dev. Locally, I am able to check-flang with these changes on fir-dev.

This revision is now accepted and ready to land.Feb 26 2022, 1:05 AM
shraiysh updated this revision to Diff 411744.Feb 28 2022, 12:12 AM

Rebase with main to check builds

This revision was landed with ongoing or failed builds.Feb 28 2022, 12:53 AM
This revision was automatically updated to reflect the committed changes.