[libc++][PSTL] Disable `-Wpass-failed`.
authorKonstantin Varlamov <varconsteq@gmail.com>
Fri, 4 Aug 2023 22:11:31 +0000 (15:11 -0700)
committerTobias Hieta <tobias@hieta.se>
Mon, 21 Aug 2023 07:51:54 +0000 (09:51 +0200)
commitd489df7cfbfbb30a6440e2961106bd2f832f1494
tree5c77f470b79e7d277c4d2a6bc3735a02e683d732
parent242fe2d8d86e643e70443292751a08c456862198
[libc++][PSTL] Disable `-Wpass-failed`.

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.

Differential Revision: https://reviews.llvm.org/D157145

(cherry picked from commit 1d340250a894b6ec956e2145b2fc7babbf83e61b)
libcxx/utils/libcxx/test/params.py