This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][IRBuilder] Added if clause to task
ClosedPublic

Authored by shraiysh on Jul 27 2022, 1:05 AM.

Details

Diff Detail

Event Timeline

shraiysh created this revision.Jul 27 2022, 1:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2022, 1:05 AM
shraiysh requested review of this revision.Jul 27 2022, 1:05 AM
Herald added a project: Restricted Project. · View Herald Transcript
shraiysh updated this revision to Diff 448308.Jul 28 2022, 5:22 AM

Rebase with main

Meinersbur added inline comments.Aug 3 2022, 9:22 AM
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
1453

[style] No Almost-Always-Auto in LLVM code.

Creating temporary instructions and removing them has issues. In addition to be inefficient, it creates issues if other code stores a pointer to it (eg. InsertPoint). Consider using splitBB which does not require a terminator.

shraiysh updated this revision to Diff 457868.Sep 4 2022, 10:49 AM

Rebase with main. Adressed comment.

Ping for review.

Ping for review!

This revision is now accepted and ready to land.Sep 22 2022, 3:15 PM
shraiysh updated this revision to Diff 462370.Sep 22 2022, 6:38 PM

Rebase with main. Thanks for the review @raghavendhra.

This revision was automatically updated to reflect the committed changes.