This is an archive of the discontinued LLVM Phabricator instance.

Introduce a range version of std::find, and use in SCEV
ClosedPublic

Authored by sanjoy on Nov 29 2015, 5:28 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

sanjoy updated this revision to Diff 41361.Nov 29 2015, 5:28 PM
sanjoy retitled this revision from to Introduce a range version of std::find, and use in SCEV.
sanjoy updated this object.
sanjoy added reviewers: dblaikie, pcc.
sanjoy added a subscriber: llvm-commits.
dblaikie accepted this revision.Nov 29 2015, 7:22 PM
dblaikie edited edge metadata.

Looks good, please commit.

(one day we'll probably want to generalize these a bit further so they handle arbitrary ranges using ADL-calls to begin/end ("using std::begin; ... begin(x)") so they work with arrays, for example)

This revision is now accepted and ready to land.Nov 29 2015, 7:22 PM
This revision was automatically updated to reflect the committed changes.