From nobody Sun Jul 28 11:06:09 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 4WWzFF3jcRz5RyrT for ; Sun, 28 Jul 2024 11:06:09 +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 4WWzFF1B37z4JLh for ; Sun, 28 Jul 2024 11:06:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722164769; a=rsa-sha256; cv=none; b=HDC7mE5JauQPuVTpmVdXyDBjEb20iqxXs1vtDjMgbabcgtkg7cXFzxZioLV3Yg5GGvkALQ fchX3x0uZgbaT2fEP5Ez4vygJV1iQ8KJZo9EAL2QjJ81L0U0HY1QlImgIr69wsQWEM16y4 k/RSGJd0ncpei9Mb2TfUIb/33qd58EI7QEgZ2HiqCR1ccHjMRfMCewmNSZxVBPugVImVT4 DJ47fwCTzXAMu2eMN2eIBySbTL+qNqXUDiNYGeCpiMrkJ/+jVkBERbgdXExLi7Z2IOwGx7 P4Frp3xHeyAdUNS+VObYubXZQ7NW+7wmnEquPMviQY/roqXq8NF3qq0cUeBqjA== 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=1722164769; 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=zOBX18X7F3CAsbhU8WQZCJz9crzF81ll87kbvsvRT00=; b=t/l4gdVCwG2OegmLfEFN7kRO4mo4EazlfOMH83Cvdh5hkrskWs/5zOTmDY0ixZHJlF0CJ7 LQKTaSJgRVFjJGAYUy6A9iZExHA5A27CMVQAP6CqXVcCxCDXRkfccWD6k4tvwQFhtsIoYM hQLAZxEwj/g2H9eejm3J+MOUsgvB5z6MsjZbevXLFwpZuYIsxPECNL1oUQicY79+vykQN3 lnugE1iQm58Xx10jlGq0kOiGFZvd6byCScB8YLXggb3LPULMJKDBek3KJpkpe+XfMGOrxm 6wuLdt/D1KiX0F/o84FBb+B/i84hrQMHqm7zu+QOO0raap2LtEvIcSYeWjEmjA== 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 4WWzFF0l9JzpG9 for ; Sun, 28 Jul 2024 11:06:09 +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 46SB699t003561 for ; Sun, 28 Jul 2024 11:06:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46SB69Rg003560 for bugs@FreeBSD.org; Sun, 28 Jul 2024 11:06:09 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: Sun, 28 Jul 2024 11:06:09 +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 #16 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc7e5a0d42f20e9a81b96fc89b3b9883cf= 4be9839 commit c7e5a0d42f20e9a81b96fc89b3b9883cf4be9839 Author: Dimitry Andric AuthorDate: 2024-07-25 11:13:45 +0000 Commit: Dimitry Andric CommitDate: 2024-07-28 11:04:26 +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 (cherry picked from commit 55a2a91c5e1bb39dd625ba56597608883fbcb318) .../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.=