Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 18:28:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271047] [exp-run] Against llvm-16-update branch on GitHub
Message-ID:  <bug-271047-7788-TZ6KY0Vtuu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271047-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271047-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271047

--- Comment #95 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D5a9c8bd8e730f74aa774ceef5ee8d3aa9=
5f715d1

commit 5a9c8bd8e730f74aa774ceef5ee8d3aa95f715d1
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-07-16 18:45:29 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-07-23 17:38:12 +0000

    Merge commit 8757ce490130 from llvm-project (by Simon Pilgrim):

        [PowerPC] Replace PPCISD::VABSD cases with generic ISD::ABDU(X,Y) n=
ode

        A move towards using the generic ISD::ABDU nodes on more backends

        Also support ISD::ABDS for v4i32 types using the existing signbit f=
lip
trick

        PowerPC has a select(icmp_ugt(x,y),sub(x,y),sub(y,x)) -> abdu(x,y)
combine that I intend to move to DAGCombiner in a future patch.

        The ABS(SUB(X,Y)) -> PPCISD::VABSD(X,Y,1) v4i32 combine wasn't legal
(https://alive2.llvm.org/ce/z/jc2hLU) - so I've removed it, having already
added the legal sub nsw tests equivalent.

        Differential Revision: https://reviews.llvm.org/D142313

    This fixes a "Wasn't expecting to be able to lower this!" fatal error
    when compiling graphics/opencv for PowerPC.

    Requested by:   pkubaj
    PR:             271047
    MFC after:      1 month

    (cherry picked from commit 881fc203567e85648f2f591a75c4674be2bee0ed)

 .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp    | 85 ++++--------------=
----
 .../llvm/lib/Target/PowerPC/PPCISelLowering.h      | 16 ----
 .../llvm/lib/Target/PowerPC/PPCInstrVSX.td         | 23 +++---
 3 files changed, 24 insertions(+), 100 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271047-7788-TZ6KY0Vtuu>