[all-commits] [llvm/llvm-project] 1d3402: [libc++][PSTL] Disable `-Wpass-failed`.

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Fri Aug 4 15:11:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d340250a894b6ec956e2145b2fc7babbf83e61b
      https://github.com/llvm/llvm-project/commit/1d340250a894b6ec956e2145b2fc7babbf83e61b
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M libcxx/utils/libcxx/test/params.py

  Log Message:
  -----------
  [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




More information about the All-commits mailing list