freebsd-src/contrib
Dimitry Andric 55a2a91c5e Merge commit 28a2b85602a5 from llvm-project (by Kazu Hirata):
[DeadStoreElimination] Use SmallSetVector (NFC) (#79410)

  The use of SmallSetVector saves 0.58% of heap allocations during the
  compilation of a large preprocessed file, namely X86ISelLowering.cpp,
  for the X86 target.  During the experiment, the final size of ToCheck
  was 8 or less 88% of the time.

Merge commit 9e95c4947d31 from llvm-project (by Nikita Popov):

  [DSE] Fix non-determinism due to address reuse (#84943)

  The malloc->calloc fold creates a new MemoryAccess, which may end of at
  the same address as a previously deleted access inside SkipStores.

  To the most part, this is not a problem, because SkipStores is normally
  only used together with MemDefs. Neither the old malloc access nor the
  new calloc access will be part of MemDefs, so there is no problem here.

  However, SkipStores is also used in one more place: In the main DSE
  loop, ToCheck entries are checked against it. Fix this by not using
  SkipStores here, and instead using a separate set to track deletions
  inside this loop. This way it is not affected by the calloc optimization
  that happens outside it.

  This is all pretty ugly, but I haven't found another good way to fix it.
  Suggestions welcome.

  No test case as I don't have a reliable DSE-only test-case for this.

  Fixes https://github.com/llvm/llvm-project/issues/84458.

This fixes another possible difference in output when building i386
object files with a native or cross build of clang. (Specifically, the
file sbin/ipf/ipmon/ipmon.o.)

PR:		276961
Reported by:	cperciva
MFC after:	3 days
2024-07-25 20:03:01 +02:00
..
arm-optimized-routines
atf contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
bc contrib/bc: upgrade to version 6.7.6 2024-07-09 07:49:27 +02:00
bearssl
bionic-x86_64-string
blocklist
bmake Merge bmake-20240711 2024-07-20 12:45:48 -07:00
bsddialog Import bsddialog 1.0.4 2024-07-11 01:17:23 -05:00
bsnmp contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
byacc byacc: really import 20240109 2024-06-20 14:34:49 +02:00
bzip2 contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
capsicum-test
com_err
cortex-strings
dialog
diff contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
dma
ee ee: fix wprintw usage (highlighted by ncurses 6.5) 2024-06-20 15:43:44 +02:00
elftoolchain elftoolchain: Consistently use item count as the first argument to calloc 2024-07-19 13:06:11 -04:00
expat contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
file Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
flex
gdtoa
googletest
hyperv/tools
jemalloc contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
kyua kyua: fix gcc builds 2024-07-20 00:28:06 +01:00
ldns ldns: Ignore commented-out lines in resolv.conf. 2024-05-15 12:20:15 +02:00
ldns-host
less contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
lib9p
libarchive libarchive: merge bugfixes from vendor branch 2024-04-30 11:55:01 +02:00
libbegemot
libc-pwcache
libc-vis
libcbor libcbor: vendor update to 0.11.0 2024-05-03 19:33:50 -04:00
libcxxrt contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
libdiff libdiff: Detect and recover from file truncation. 2024-05-20 15:26:33 +02:00
libdivsufsort
libedit
libevent
libexecinfo
libfido2 libfido2: update to 1.14.0 2024-05-04 12:51:08 -04:00
libpcap
libucl
libxo
llvm-project Merge commit 28a2b85602a5 from llvm-project (by Kazu Hirata): 2024-07-25 20:03:01 +02:00
lua
lutok
mandoc cross-tools: fts has different types for cmp routine 2024-05-26 11:38:30 -06:00
mknod
mtree
ncurses ncurses: readd 2 html files in the doc (fix MK_HTML=yes) 2024-06-20 15:34:17 +02:00
netbsd-tests man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
netcat contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
ntp ntp: Vendor import of ntp-4.2.8p18 2024-05-26 18:41:22 -07:00
nvi
ofed bnxt_re: User library support for RoCE driver 2024-07-09 11:08:36 +00:00
one-true-awk ota: Merge 20240623 (bsd-features) from ota 9f971fba471b 2024-07-23 16:01:50 -06:00
openbsm contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
opencsd/decoder
openpam
openresolv
pam_modules/pam_passwdqc
pf pf: convert DIOCBEGINADDRS to netlink 2024-06-08 04:46:43 +02:00
pjdfstest contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
pnglite
pnpinfo
processor-trace
sendmail contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
smbfs contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
spleen
sqlite3 Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tcp_wrappers
tcpdump
tcsh contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
telnet
terminus
tnftp
tzcode
tzdata
unbound unbound: Remove backup file 2024-07-15 08:15:27 -07:00
unifdef
unvis
vis
wireguard-tools
wpa wpa: Import 2.11 2024-07-23 12:49:40 -07:00
xz MFV: xz 5.6.2. 2024-06-03 18:14:43 -07:00