This is an archive of the discontinued LLVM Phabricator instance.

[libc++][PSTL] Disable `-Wpass-failed`.
ClosedPublic

Authored by var-const on Aug 4 2023, 2:57 PM.

Details

Reviewers
philnik
Group Reviewers
Restricted Project
Commits
rG1d340250a894: [libc++][PSTL] Disable `-Wpass-failed`.
Summary

PSTL contains many pragmas that request loop vectorization, which would
produce a warning when the compiler is unable to fulfill the request (if
-Wpass-failed is enabled). This is normal and expected in some cases,
and we don't want -Werror to turn that into a compilation failure.

Diff Detail

Event Timeline

var-const created this revision.Aug 4 2023, 2:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 2:57 PM
Herald added a subscriber: arichardson. · View Herald Transcript
var-const requested review of this revision.Aug 4 2023, 2:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2023, 2:57 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
philnik accepted this revision.Aug 4 2023, 3:00 PM
This revision is now accepted and ready to land.Aug 4 2023, 3:00 PM
var-const edited the summary of this revision. (Show Details)Aug 4 2023, 3:02 PM
This revision was landed with ongoing or failed builds.Aug 4 2023, 3:12 PM
This revision was automatically updated to reflect the committed changes.