freebsd-dev/contrib/llvm-project
Dimitry Andric b8f1c9dd9b Merge commit 2b0f5df7b4e0 from llvm-project (by Jessica Clarke):
[builtins][Mips] Un-break FreeBSD build of __clear_cache

  Commit 674a17e9bbe8 ("MIPS/compiler_rt: use synci to flush icache on
  r6") completely removed the OS-specific guards under the guise of "For
  pre-r6, we can use cacheflush libc function, which is same on Linux and
  FreeBSD." However, the code in question had guards for Linux and
  OpenBSD, not Linux and FreeBSD, and FreeBSD does not have a cacheflush
  libc function as claimed, so this was neither the statement they
  intended to make nor was it sufficient justification for making the code
  completely unconditional. Whilst the upcoming FreeBSD 14 release has
  dropped support for MIPS, FreeBSD 13 has support for it.

  Fix this by only calling cacheflush on the OSes where it was previously
  called, and not on other OSes where it either definitely isn't available
  (FreeBSD) or is unknown (any other OS than the three mentioned in this
  commit).

This is only needed for MFC'ing, as mips has been removed from
14-CURRENT.

PR:		271047
MFC after:	immediately
2023-07-23 13:01:42 +02:00
..
clang Merge commit 9ca395b5ade1 from llvm-project (by Haojian Wu): 2023-07-19 19:14:23 +02:00
compiler-rt Merge commit 2b0f5df7b4e0 from llvm-project (by Jessica Clarke): 2023-07-23 13:01:42 +02:00
libcxx Merge llvm-project release/16.x llvmorg-16.0.6-0-g7cbf1a259152 2023-06-22 20:22:59 +02:00
libunwind Merge llvm-project release/16.x llvmorg-16.0.2-0-g18ddebe1a1a9 2023-06-22 20:22:28 +02:00
lld Merge llvm-project release/16.x llvmorg-16.0.5-0-g185b81e034ba 2023-06-22 20:22:50 +02:00
lldb Merge llvm-project release/16.x llvmorg-16.0.3-0-gda3cd333bea5 2023-06-22 20:22:35 +02:00
llvm Merge commit 8757ce490130 from llvm-project (by Simon Pilgrim): 2023-07-16 20:45:29 +02:00
openmp Merge llvm-project release/16.x llvmorg-16.0.1-0-gcd89023f7979 2023-06-22 20:22:20 +02:00
FREEBSD-Xlist Merge llvm-project main llvmorg-16-init-18548-gb0daacf58f41 2023-06-22 20:20:56 +02:00