This is an archive of the discontinued LLVM Phabricator instance.

[libc++][PSTL] Remove current integration
ClosedPublic

Authored by philnik on Apr 16 2023, 1:32 PM.

Details

Reviewers
ldionne
Mordante
Group Reviewers
Restricted Project
Restricted Project
Commits
rG7d98590b3a23: [libc++][PSTL] Remove current integration
Summary

We decided to go a different route. To make the switch easier, rip out the old integration first and build on a clean base.

Diff Detail

Event Timeline

philnik created this revision.Apr 16 2023, 1:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2023, 1:32 PM
philnik requested review of this revision.Apr 16 2023, 1:32 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 16 2023, 1:32 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript

How does this change affect existing users of PSTL?
Are we certain the new code lands before LLVM 17?
I'm not sure how well the current PSTL implementation works, but if this affects users there should be release notes. We can always remove them when a new implementation is a drop-in replacement.

How does this change affect existing users of PSTL?
Are we certain the new code lands before LLVM 17?
I'm not sure how well the current PSTL implementation works, but if this affects users there should be release notes. We can always remove them when a new implementation is a drop-in replacement.

The PSTL is broken in trunk, so this shouldn't affect anybody (anymore than it being broken already does). It will most likely land before LLVM 17 since I'll be working on it in the next months during my internship.

How does this change affect existing users of PSTL?
Are we certain the new code lands before LLVM 17?
I'm not sure how well the current PSTL implementation works, but if this affects users there should be release notes. We can always remove them when a new implementation is a drop-in replacement.

The PSTL is broken in trunk, so this shouldn't affect anybody (anymore than it being broken already does). It will most likely land before LLVM 17 since I'll be working on it in the next months during my internship.

Just to clarify further -- we don't expect there are any users of the PSTL within libc++ right now, since the integration was never fully completed.

ldionne accepted this revision.Apr 20 2023, 8:21 AM

LGTM w/ green CI

libcxx/src/CMakeLists.txt
421

This can go.

This revision is now accepted and ready to land.Apr 20 2023, 8:21 AM
philnik updated this revision to Diff 515482.Apr 20 2023, 2:18 PM
philnik marked an inline comment as done.
  • Address comments
  • Try to fix CI
This revision was landed with ongoing or failed builds.Apr 20 2023, 8:31 PM
This revision was automatically updated to reflect the committed changes.
libcxx/src/CMakeLists.txt