From nobody Fri Dec 16 13:38:21 2022 X-Original-To: dev-commits-src-main@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 4NYVY957Ygzt1Zb; Fri, 16 Dec 2022 13:38:21 +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 4NYVY94SkYz4Jvm; Fri, 16 Dec 2022 13:38:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671197901; 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=8s+QRkp2sATYLCvLwap+vhkZ3gAYSNDc3KRPRgQ5bs4=; b=n5PC7QbAzfyAgHSTVOIAwEaBr1xlws9tlyoEfvYpFy7bUwX7l4Wj6ZvnZoYSqFqLVLFemz bSnzROm4lXaRhg54izXq8YcO4REMruiRPrAUupZRd/Ddp5hSsRo9U+N1l8EtASOCQo/nBM 0dK1mWDKpe0Z9fRJAe4+SZmquTeMizAzFP02NKsb8plweBVfIMuO/dq6A0KMsKH637+daa WwtM+3W0d5miPtIDlx90ergmY+8NZC8stkcnm61COcGlU5as1YdI7CyLLChG04AFlnyoR0 jS1gf6CHkQ3tND79IBsA/Bs2+gtysgsYH34pmAeoQNQbcpE/IZ1K/ocEykpD2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671197901; 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=8s+QRkp2sATYLCvLwap+vhkZ3gAYSNDc3KRPRgQ5bs4=; b=lHZ9Gpb/dAYtxCMDeNXgTqWZZ1m1kOq5q/GPeRJ4xGtCzyEi2iRLuADQEX6ii/gr+itrej LpjwIhRBNk/CGXHe6aOLvfCM+ek1LsbDDF0KfPi8iXv/s81SpGWLSabiKHldWwvlzGX5AR mZdQF6HOHFZcbuhJ4GMhJm5RvpenhduQgdLasucZb6faSv3w/xHVlH0sSIJAl1/XR0NXT3 QGgYFQfWNRq9woUqIMvWJmXXDIBp5ztEXrDczkuO24G9rYNUPjZiTKoMnj2Jwn40WsoMIU S8AP8vVHJm0iEDgGipEkxG4TIKKNJqX/sWFWn0tbKKysE2rfNAbKUc99DulLRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671197901; a=rsa-sha256; cv=none; b=BfdFqnjR57ogbpHWi3vegc425ILRptcyPJNTQ6hPxiZSUtQlgzCqVWYBP5/riXIojEf6dV Hn9LMpftCS8fye21N2WSNfqva3fLyR/nF6L3HaUtmLxWDlZXv5nViEgtbUURufx+6Y5LiO S/jkeG+LvZ0jyjajYh9Yt8ZL/pAn8JLKxRilSv85dEj2c/qadorqcuY/XtbkoXrLZto0j/ gGtOR4T8AeardMytbmtS43JX3HzedsU3WYHKe1SMxxnmmnHBvcMG6ht8x54XD3/+P5DBxy XvN9RKdLR0JpgcEkt6HnF9t2Bt3WuFa8at4CQ4NSTlu9PoIh1xCSKt6S6kh63Q== 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 4NYVY93Ws1zDxm; Fri, 16 Dec 2022 13:38:21 +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 2BGDcLnH027227; Fri, 16 Dec 2022 13:38:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BGDcLm2027226; Fri, 16 Dec 2022 13:38:21 GMT (envelope-from git) Date: Fri, 16 Dec 2022 13:38:21 GMT Message-Id: <202212161338.2BGDcLm2027226@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 458916976849 - main - Apply llvm fix for crash building julia on PowerPC64 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 4589169768490461995f07713c8e9d7bab6bf277 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=4589169768490461995f07713c8e9d7bab6bf277 commit 4589169768490461995f07713c8e9d7bab6bf277 Author: Dimitry Andric AuthorDate: 2022-12-16 13:28:10 +0000 Commit: Dimitry Andric CommitDate: 2022-12-16 13:28:10 +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 --- 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">,