From nobody Mon Aug 15 18:57:59 2022 X-Original-To: toolchain@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 4M63Sl4Mdxz4YYym for ; Mon, 15 Aug 2022 18:57:59 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M63Sl3L1Cz3H3J for ; Mon, 15 Aug 2022 18:57:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4M63Sl2CRmzgG5 for ; Mon, 15 Aug 2022 18:57:59 +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 27FIvxAK010495 for ; Mon, 15 Aug 2022 18:57:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27FIvxaP010494 for toolchain@FreeBSD.org; Mon, 15 Aug 2022 18:57:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 265809] clang never finishes on one particular C++ file Date: Mon, 15 Aug 2022 18:57:59 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660589879; 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=GhBDoyI5R948orEapxXm/8BJZd45BrsUdomqHEy3uHM=; b=eVXZU8CdcRCRc0BB+sG44KxvWYoW3FbaPtTtimGqpFPD1XrzP2PRCjLKg6f+Nq/sb9Rw3n XQjF+JjtPQF53SyrBGrvNbaKwIrxi3sIRILLy3c3k6AwrjF0xyGxLleDKjJDv8NIm+0oB7 S1OpS7HLRBfuY9KA9p2sVGNLc8471pKFTfOPKdOkvQnT0jTW8VXa4if3+wPPuQBIcjP4hl JtrA349ApU8ht+d8VeFj5WqEg7spsuTPcgw3MaScTKrQMz3ncGrczWUl50rX1nUxmunW9o 9H0JI5dAIPVTDZ2tX67mxYrpgHboGu3ZssvV7PNy6nr885DDShBLffzjJpmDyA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660589879; a=rsa-sha256; cv=none; b=pmBeqDSOYPNPzKTLAW09c2jnHH5iHbTO7zUIrR/QJAP9Dv9L6pD5SVqrAX0vcsfHbrbR76 zT1pLcumTe9pG16W97xt+jzohvzRXKZSWZYJ/8ldjQKC3JQNTuDJ1EysjM4oLBfpPc42S5 vBrK9lNKYVKAdDjzvlz9wtUjy5cR9Pce/Cg8rWBULuZNBwVEZS0nzKzg2+SO1uWIyqEG0M iT+5vgu6b7xPht7mc15hAjqfE9R23AddegNsYWPYSiX0TO8BHsOBwR/8LN1evPrvCptuiB 8U0fIQsOrEPRSkmBzMu60PYlMYALRuvcfc1SaI47tWA3YoqICAsYIJW07vqR1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265809 John F. Carr changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfc@mit.edu --- Comment #1 from John F. Carr --- The hang (or exponential runtime) appears to be in LLVM's DAGCombiner::Run working on the function deriv2eri3_aB_P__0__F__1___TwoPRep_unit__0__P__1___Ab__up_0. To narrow it = down I ran clang++ -emit-llvm to get an IR file. That ran quickly. Then I ran = llc from an LLVM 14 build (it's not installed by default) on that IR file and t= hat part hung. The C++ file does not compile with LLVM 15 clang due to changes= in intrinsics. The LLVM 15 llc program hangs on the output from LLVM 14 clang. Is anybody in particular responsible for reporting LLVM bugs upstream? --=20 You are receiving this mail because: You are the assignee for the bug.=