1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/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 Update the Arm Optimized Routine library to v24.01 2024-02-29 11:39:12 +00:00
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 Track upstream project rename in contrib/blocklistd 2023-11-03 16:53:04 -04:00
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 capsicum: introduce cap_rights_is_empty Function 2023-12-11 12:15:46 +01:00
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 Import GoogleTest 1.14.0 2023-08-10 02:32:33 -07:00
hyperv/tools hyperv/kvp: Remove set but unused variables. 2023-06-27 10:19:32 -07:00
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 lib9p: Remove set but unused sockets[] array from l9p_start_server. 2023-06-20 09:28:59 -07:00
libarchive libarchive: merge bugfixes from vendor branch 2024-04-30 11:55:01 +02:00
libbegemot
libc-pwcache Remove __FBSDID from netbsd libc sources 2023-11-21 00:21:11 +00:00
libc-vis Remove __FBSDID from netbsd libc sources 2023-11-21 00:21:11 +00:00
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 libevent: Import libevent 2.1.12 2023-11-14 17:13:02 -08:00
libexecinfo
libfido2 libfido2: update to 1.14.0 2024-05-04 12:51:08 -04:00
libpcap
libucl libucl: import snapshot 2024-02-06 2024-02-29 13:27:03 +01:00
libxo
llvm-project Merge commit 28a2b85602a5 from llvm-project (by Kazu Hirata): 2024-07-25 20:03:01 +02:00
lua Merge LUA 5.4.6 2023-07-15 11:31:04 -06:00
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 nvi: import version 2.2.1 2023-09-27 18:14:45 +02:00
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 openpam: Migrate from COMPAT_32BIT to generic COMPAT_libcompat 2023-07-09 18:48:17 +01:00
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 pnpinfo: remove locally added __FBSDID 2023-11-27 16:47:30 +00:00
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 tcp_wrappers: silence a few warnings 2024-01-22 17:23:49 +01:00
tcpdump tcpdump: cope with incorrect packet lengths 2024-04-04 10:07:05 +02:00
tcsh contrib: Remove various $FreeBSD$ tags not upstream 2024-05-31 13:49:17 -06:00
telnet Fix snprintf truncation in telnet 2023-12-21 23:45:52 +01:00
terminus
tnftp
tzcode timezone: Move to the XSI/POSIX definition for timezone. 2024-03-11 22:19:31 -06:00
tzdata contrib/tzdata: import tzdata 2024a 2024-02-02 10:01:39 +08:00
unbound unbound: Remove backup file 2024-07-15 08:15:27 -07:00
unifdef unifdef: Handle redefined symbols correctly. 2023-09-06 17:11:13 +00:00
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