From nobody Fri Dec 29 19:32:10 2023 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 4T1wVz12h1z553lG; Fri, 29 Dec 2023 19:32:11 +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 4T1wVy4NXPz3L5W; Fri, 29 Dec 2023 19:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703878330; 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=oEAtZNi54zOEQ8w8at74n4Dlw18kRf19UMI+irB7bFg=; b=pJcHHGv1OLl9ztYfHIxOFzQDj2pICXE8xCmsT+WebfyIKf9Ll2Nw+p/Y/oxYOHwjMsYJ1b GdbHQoVmn3HIj52PvOIejNBRgOos/pawi3nIf5S3U6AjGvSuAt8lqouhhGDHsGWY6bD5f/ 0Y67zyyYpomhlMBgQdWqPAFjL185VEJONu5ySb14P+5JsTWUQRCvdMDGnStA+0oS/Yhi3Q JMR7+N6hzIqU6yYr48Hu5T7GzA4q5yen786eDOcqp4zz73Z1fkcQVq7As0l8254irHP4ay ISq6rNQfnfetJe9KrehJFm3XZobgyIZFvlRiZOBtmJ0oJQZnq5j7FcaRVDKbtg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703878330; a=rsa-sha256; cv=none; b=EnGEwjU9x9s6s917n1BU0BuGAh7RCfz31VLfONJm3nHnSkS28R2M2RxRov3/fzDtQVYRgg JWPdXiYrkDF5gzy0MEia5BrrWiw2kzIlEiGxmvCtoVyR2Fgxj0zL1gv/t53X75DBPXvSwu CL+Vk8JaLSFr1kTsS2KCwNlBuBWEBlesAcLof3DUaJvAjieAc4j/+LSK7uDblIM2DiHw3m ZjFuYJaDVmfyC46bzBGcVFV1y/R79iaS42PKJd3NfC3b/c9/o+DXKUCgFE/7lA/JQJH/kV RSLjGBThiuITtKD9i97lY4i7SI6Klg0Ay+eNLAKOuKW+Vdmwb9Pnlna4XivHOw== 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=1703878330; 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=oEAtZNi54zOEQ8w8at74n4Dlw18kRf19UMI+irB7bFg=; b=LDffvaBGN1avbX/FC/O3tfiaxJT1Gb1NoSxSXMcfMxZRRmoM4sh0mIYGCgcNACY1zwreTh tcbSaBqk60N/Oasi6ATS+2FmtyF08WhjRAOrRMOW5aSKLABnt7XBLWR/rOoItdL/ZiLNVx CkJi+s8c13FnDN/H4/crZntP1pxfPzGPifm2kQq1cIcoMkGhF72n0hxhtumEhafeFsInqA HXwtaqev+aUfNfYUik1yDpknqbO4zf4OXNxgljF2Zmvkj27aCZPCC7XaWiLpnmFEXWuhZm 1sjsbFYEBrXM29HDSDAaCXqcTqK2RmhAREp1ImgHZPWmXAKByYfWBmE0ahHphw== 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 4T1wVy3Skjz4PR; Fri, 29 Dec 2023 19:32:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BTJWAVN018505; Fri, 29 Dec 2023 19:32:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BTJWA5o018502; Fri, 29 Dec 2023 19:32:10 GMT (envelope-from git) Date: Fri, 29 Dec 2023 19:32:10 GMT Message-Id: <202312291932.3BTJWA5o018502@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: 79639686401b - main - Merge commit c97a7675eea4 from llvm git (by Qiu Chaofan): 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/main X-Git-Reftype: branch X-Git-Commit: 79639686401bedbcbbf04eb71e0acb1cc7dcbbcb Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=79639686401bedbcbbf04eb71e0acb1cc7dcbbcb commit 79639686401bedbcbbf04eb71e0acb1cc7dcbbcb Author: Dimitry Andric AuthorDate: 2023-12-29 19:30:45 +0000 Commit: Dimitry Andric CommitDate: 2023-12-29 19:30:45 +0000 Merge commit c97a7675eea4 from llvm git (by Qiu Chaofan): [PowerPC] Expand FSINCOS of fp128 (#76494) This fixes "fatal error: error in backend: Cannot select: 0x6d420285c0: f128,f128 = fsincos 0x6d4202b6f0" when compiling s_cpowl.c for powerpc64le. Upstream ticket: https://github.com/llvm/llvm-project/issues/76442 Reported by: pkubaj MFC after: 3 days --- contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index d4d2da55160e..547b71a6101a 100644 --- a/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/contrib/llvm-project/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -1166,6 +1166,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM, setTruncStoreAction(MVT::f128, MVT::f32, Expand); // No implementation for these ops for PowerPC. + setOperationAction(ISD::FSINCOS, MVT::f128, Expand); setOperationAction(ISD::FSIN, MVT::f128, Expand); setOperationAction(ISD::FCOS, MVT::f128, Expand); setOperationAction(ISD::FPOW, MVT::f128, Expand); @@ -1401,6 +1402,7 @@ PPCTargetLowering::PPCTargetLowering(const PPCTargetMachine &TM, setLibcallName(RTLIB::EXP2_F128, "exp2f128"); setLibcallName(RTLIB::SIN_F128, "sinf128"); setLibcallName(RTLIB::COS_F128, "cosf128"); + setLibcallName(RTLIB::SINCOS_F128, "sincosf128"); setLibcallName(RTLIB::POW_F128, "powf128"); setLibcallName(RTLIB::FMIN_F128, "fminf128"); setLibcallName(RTLIB::FMAX_F128, "fmaxf128");