From nobody Sun Dec 25 11:42:05 2022 X-Original-To: dev-commits-src-all@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 4NfzXs5yfTz1HyN3; Sun, 25 Dec 2022 11:42:05 +0000 (UTC) (envelope-from git@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 4NfzXs5XGLz3xLw; Sun, 25 Dec 2022 11:42:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671968525; 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; bh=8iCOQ5pZGmOkwWnccZMVDTv+O4w127af6RT3PgyCVeA=; b=CB92PVdXPOCXQ2UrExRoKIT9BIrG8DWyp3UmgzDEuTeT6I4CXrJeNZSxFgA8pgEKhWRpJx RetF5gbc5CI//KqfQ0e5tfsoAFFOVSEv3SMQaWKh2tNCSxeIelvlNKUxnFEfM135/kHgkk U5qVAaZUgrwdRZM0y3Mc4m/KIvV+h6cAchJdZfelpDsyk2M2tbk0+DSlRRzb8uH9qWcqWR T1cAf9QUunSvL9v2GsCzwU+YGkTVXKIaLN6c95ZiFpv3obBLzQZ49OPMnMm+zpf1jiUM+b wyjDKYaynENIkUk/ls3EVwtY101+H6A7pd46uFEU1UbOrbkqeWG2Hu4jiRlGDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671968525; 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; bh=8iCOQ5pZGmOkwWnccZMVDTv+O4w127af6RT3PgyCVeA=; b=XTqRHM6U3LYpcNqD6fcxkNiPvQKZ7b7vh1dY6VdbE0wsfwKmvJEEwDVbm8JihYp4Ml+2Fi oBT5aYt2hhtGAxGDa6ZW5c3cnmJbVE4Rd4UYlmzapY2tu587t727J0rq4a+sk33jfpbjS8 s7xRnNAEWdMuOwmPjzXD9HOP0NrNqA+bAw1yaGafXXD0tDxepCYOq7KRtJUIRReTPwh35Q d4xw2OluVxhPSwv+jZVKWLcDTXc568Qwzeu/pwEAZVK3Sa9eyWJmsA200y3600nUHsuU5n rdbTbgWTI+E++VIbM06v4m3PAsk5vPasyy9161AJL8o7f7mYw+x1AoWxqipn7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671968525; a=rsa-sha256; cv=none; b=FxReNHAR3MYG6GX/0QQzveK7wrqspN+hKkjByTFnHTxy2PZuWDYOXW1cZAMS8dri4m2d+f nHOrQP5eS2BwIvYd1Xns7ldvpsVLJy+xfr4ignNm5dfOzsmajZ016AXoD+pf48o7jJlSRC 5Cb880p2XLW/8Bo2lLoUYA3JeSClmH1GuFCPTrjCuXhq0qLdMkRq9U65yjXmD+ks6YcExC BP6VKAGOo3wCSbXQzlEVxM8Eyoo3+EQgXw8qQ640u78YsxSNOJVn+IMmk0qd6Z4wjUVv0A Fb6IR7KiiCGqwWFfZHoZyK4n1wnguymfLg7/r4eUedcuqRnAbwEDDePXjsk2EQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4NfzXs4bgDzrHZ; Sun, 25 Dec 2022 11:42:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BPBg5WY014645; Sun, 25 Dec 2022 11:42:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BPBg56h014644; Sun, 25 Dec 2022 11:42:05 GMT (envelope-from git) Date: Sun, 25 Dec 2022 11:42:05 GMT Message-Id: <202212251142.2BPBg56h014644@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: c77448c1969f - stable/13 - Apply llvm fix for crash building julia on PowerPC64 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c77448c1969f11e1ed77c30e870239912c683e8a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=c77448c1969f11e1ed77c30e870239912c683e8a commit c77448c1969f11e1ed77c30e870239912c683e8a Author: Dimitry Andric AuthorDate: 2022-12-16 13:28:10 +0000 Commit: Dimitry Andric CommitDate: 2022-12-25 11:41:33 +0000 Apply llvm fix for crash building julia on PowerPC64 Merge commit 6710b21d4698 from llvm git (by Kai Luo): [PowerPC] Allow llvm.ppc.cfence to accept pointer types In the context of atomic load, integer, pointer and float point types are allowed, thus we should allow llvm.ppc.cfence to accept any type mentioned. Fixes https://github.com/llvm/llvm-project/issues/55983. Reviewed By: shchenz, vchuravy Differential Revision: https://reviews.llvm.org/D127554 Requested by: jhibbits MFC after: 3 days (cherry picked from commit 4589169768490461995f07713c8e9d7bab6bf277) --- contrib/llvm-project/llvm/include/llvm/IR/IntrinsicsPowerPC.td | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/llvm-project/llvm/include/llvm/IR/IntrinsicsPowerPC.td b/contrib/llvm-project/llvm/include/llvm/IR/IntrinsicsPowerPC.td index b01fa10763b8..6e5b9cbd9a44 100644 --- a/contrib/llvm-project/llvm/include/llvm/IR/IntrinsicsPowerPC.td +++ b/contrib/llvm-project/llvm/include/llvm/IR/IntrinsicsPowerPC.td @@ -1459,7 +1459,11 @@ def int_ppc_tsuspend : GCCBuiltin<"__builtin_tsuspend">, def int_ppc_ttest : GCCBuiltin<"__builtin_ttest">, Intrinsic<[llvm_i64_ty], [], []>; -def int_ppc_cfence : Intrinsic<[], [llvm_anyint_ty], []>; +// We currently use llvm.ppc.cfence in the context of atomic load which +// in LLVM IR requires its type to be one of integer, pointer and +// float point type. So llvm_any_ty here refers to type mentioned above. +// Backend is supposed to lower these types to appropriate MVTs. +def int_ppc_cfence : Intrinsic<[], [llvm_any_ty], []>; // PowerPC set FPSCR Intrinsic Definitions. def int_ppc_setrnd : GCCBuiltin<"__builtin_setrnd">,