This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Allow negative lower bound in array sections based on pointers
ClosedPublic

Authored by davidsh on Jul 18 2016, 2:49 PM.

Details

Summary

OpenMP 4.5 removed the restriction that array section lower bound must be non negative.
This change is to allow negative values for array section based on pointers.
For array section based on array type there is still a restriction: "The array section must be a subset of the original array."

Diff Detail

Repository
rL LLVM

Event Timeline

davidsh retitled this revision from to Allow negative lower bound in array sections based on pointers.
davidsh updated this object.
davidsh added a subscriber: cfe-commits.
davidsh retitled this revision from Allow negative lower bound in array sections based on pointers to [OpenMP] Allow negative lower bound in array sections based on pointers.Jul 18 2016, 4:21 PM
ABataev accepted this revision.Jul 18 2016, 8:04 PM
ABataev edited edge metadata.

LG

This revision is now accepted and ready to land.Jul 18 2016, 8:04 PM
This revision was automatically updated to reflect the committed changes.