This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix condition.
ClosedPublic

Authored by gtbercea on Oct 29 2018, 12:31 PM.

Details

Summary

Iteration variable must be strictly less than the number of iterations. This fixes a bug introduced by previous patch D53448.

Diff Detail

Event Timeline

gtbercea created this revision.Oct 29 2018, 12:31 PM
gtbercea updated this revision to Diff 171558.Oct 29 2018, 12:42 PM
Add tests.
gtbercea retitled this revision from [OpenMP][NFC] Fix condition. to [OpenMP] Fix condition..Oct 29 2018, 12:43 PM
gtbercea edited the summary of this revision. (Show Details)
ABataev accepted this revision.Oct 29 2018, 12:43 PM

Rename, the patch, it is not an NFC.

This revision is now accepted and ready to land.Oct 29 2018, 12:43 PM
This revision was automatically updated to reflect the committed changes.