This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][IRBuilder] Fix createSections
ClosedPublic

Authored by shraiysh on Nov 18 2021, 12:19 AM.

Details

Summary

Fix for the case when there are no instructions in the entry basic block before the call
to createSections

Diff Detail

Event Timeline

shraiysh created this revision.Nov 18 2021, 12:19 AM
shraiysh requested review of this revision.Nov 18 2021, 12:19 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Meinersbur accepted this revision.Nov 29 2021, 10:42 AM

AllocaIP could be handled better, but as a fix LGTM.

This revision is now accepted and ready to land.Nov 29 2021, 10:42 AM
shraiysh updated this revision to Diff 390935.Dec 1 2021, 12:19 AM

Thanks for the review @Meinersbur . Rebase with main.

This revision was automatically updated to reflect the committed changes.