From nobody Thu Jul 25 18:04:06 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WVJft2KxWz5R0XQ for ; Thu, 25 Jul 2024 18:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVJft0wM5z537G for ; Thu, 25 Jul 2024 18:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721930646; a=rsa-sha256; cv=none; b=kiItdy6bm/vtN4neeu7y3jtyNTuubVRd0QP772GoKBUvAjXuEgEEB42N9lKFmqdd38PAqo xjINGM6FPo4S0LvHuorTEhzxunu2svbFve4Q9hmVEam6biDPaEX7ibg7Wq9+JJEPSUP/PG 9UPSUxOPVwS3N0jOjm79h6ZVzZnCKBAY7Gox7hngUn60yo1zAsOSWvRn6Slft+28VjpwgR 9NJ2Lj6u47Ha2vl+bi4KTC8z6tP1YcMO29+zZakkaO1pqiSdAOqJk7nbhtgEibUQxoXtPP 6l2nbLokQqr4gpgvnKPl22bwB8CJ3ryigHsY6GQMzde+Xh2O9sxTR6H1tIUIZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721930646; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OMPOKpcPJPpYT+Kt7sncvTYf3qo/JATs4WHD74W8vx4=; b=g5PSMGnGy2YBmdZP7J/fOHwL4V3GBQegNctB1Pbuw2WnLayIr6WP7Pjgxb6ZfKE4AUD/pZ ZMveBXzMYTZgVLRaJhINEiWfv6o9DpMQWKI0NDAILCwCJ5XWlbLvzSn4MQlV5+YRBtqLUr 4bgX566Fcv40muDSK5f8NuaZXMX2uEovq/ijK5N3CiAN0IzSe/CmMga9KFiDAwnkq5mE8D FeqdljCIkInnC4k6es/34rH8S8msJs6grmG3/yXbqCd3/Ieep5cDLsemEhs9i4MftCzaPX xgIaQcnIGoKMbpXPeIGZGCN2Tya97PR45h//wBsIUK7xFLReBxpUcUrNpURWoQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WVJft0Wq1z14pk for ; Thu, 25 Jul 2024 18:04:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46PI454e079062 for ; Thu, 25 Jul 2024 18:04:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46PI455I079061 for bugs@FreeBSD.org; Thu, 25 Jul 2024 18:04:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276961] buildworld artifacts not reproducible between native and cross build Date: Thu, 25 Jul 2024 18:04:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276961 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D55a2a91c5e1bb39dd625ba56597608883= fbcb318 commit 55a2a91c5e1bb39dd625ba56597608883fbcb318 Author: Dimitry Andric AuthorDate: 2024-07-25 11:13:45 +0000 Commit: Dimitry Andric CommitDate: 2024-07-25 18:03:01 +0000 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 normal= ly 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 her= e. 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 optimizat= ion 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 .../lib/Transforms/Scalar/DeadStoreElimination.cpp | 24 ++++++++++++++++--= ---- 1 file changed, 18 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=