This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix typo in CodeGenFunction::EmitOMPWorksharingLoop (PR46412)
ClosedPublic

Authored by RKSimon on Sep 7 2020, 11:14 AM.

Details

Summary

Fixes issue noticed by static analysis where we appear to have a copy+paste typo, testing ScheduleKind.M1 twice instead of ScheduleKind.M2.

Diff Detail

Event Timeline

RKSimon created this revision.Sep 7 2020, 11:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 7 2020, 11:14 AM
RKSimon requested review of this revision.Sep 7 2020, 11:14 AM
jdoerfert accepted this revision.Sep 7 2020, 11:32 AM

LGTM thx

This revision is now accepted and ready to land.Sep 7 2020, 11:32 AM
doctorpangloss accepted this revision.Sep 7 2020, 12:59 PM