From nobody Tue Jul 28 07:20:05 2026 X-Original-To: bugs@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 4h8RgV203vz6mknM for ; Tue, 28 Jul 2026 07:20:06 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h8RgV0ymKz4KFQ for ; Tue, 28 Jul 2026 07:20:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785223206; 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=dPshHY3r4i80TNMmWslN0VzfPhA/MTq0DEG72F+I0aA=; b=AvvnfTnUWbUlEAWBTVm+cbx/hJRaAGfJHRfgxZLFZSNsoFK/6DTwSJQSUW1cLG6KtKRpyL X4WOJ46TamA89Nz+SfbLoXVJOupzif4bKfKClNuVljbjSOlJKljBHMDno99pYwVBqzBiU1 7wmK81ZQDE2U/vk9maxXevG3Kr0PrjMUOpMKgU1bbqYv3gL1AqR6EW86VYSmClk/CAnmDQ lW8NoAX/4ntrcc0rbYhmpB/5UyFJmlx41UYuPN8Z/3K8Vsm8EbnQUWoElkqm5TlOJIxq3x uadr4aeJBJHahwxS7Bo45IjwOQmogmG0H4oxcH++6TSQDQXuozpxHlMa814PvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785223206; a=rsa-sha256; cv=none; b=KIrNF/y5G2r7lHGILe/+lmAyf5pxci3qMU0oaVNee1PFuoBpEWGgs63wHIDR/rExIllsLz uSevwZQN7M1jR4yesfnJ+SNGJmQk/+557OKnwlw9WdXkH9MwyNf9hJ56f/HOOZ7sXLhylg vm83L1692/7gC0c9/mI2hIFwkyZYiUhhfAsEAsJVpjsG67qmByH26WSdf0uxTWbTuxKYNj RGSC0eP5UxVYbYoWXaxMZFd7gL7Cc5jL6hNIbjXp4QessfpJBys6GiY071boy7zvBC1J4E 4fL2FUJlK5RVETGwfzm9Bpr2Z3Qlept1GlRykArkthb6wuTc7noK902GsSB5hg== 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=1785223206; 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=dPshHY3r4i80TNMmWslN0VzfPhA/MTq0DEG72F+I0aA=; b=xYngaGYa03HxEGGYGvq6eDCIuZi2pnhlYNkoERmmEhWvyOD1Z9wQO/G194AqWIdrPLpRV/ 0xqNYV2owJriqT5X8BTOpd1UV7b8+1Yke7Hb9c0oXpr/5p8Ul7hWizaqEreBvKEU1aVFwp tNshvte8JBlyThK11WO/X9MQQznBPG5VuiIHXC42vnHYwobbQBBGrOrlUn4boiYeu0l5Dp AbbN542TBIZvaeVUD6sIaSu60R0Xtc8V5N5Y+Zle7bkwez9u16vmUJe0CZUYCz7tLF4lfG GwmM1aXHvF7rumJYtL/tznHOgxUFvaG36ZJHy3JRPs26vgYCXackfvHaJzXdfA== 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 4h8RgT6hSczDRb for ; Tue, 28 Jul 2026 07:20:05 +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 66S7K5aw029107 for ; Tue, 28 Jul 2026 07:20:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 66S7K5h1029106 for bugs@FreeBSD.org; Tue, 28 Jul 2026 07:20:05 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: bugs@FreeBSD.org Subject: [Bug 297112] Please cherry-pick b23ba298 to CURRENT to fix math/p5-PDL on powerpc64le with IEEE ldbl Date: Tue, 28 Jul 2026 07:20:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297112 Bug ID: 297112 Summary: Please cherry-pick b23ba298 to CURRENT to fix math/p5-PDL on powerpc64le with IEEE ldbl Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: pkubaj@FreeBSD.org On powerpc64le with IEEE-128 long double, clang aborts while compiling ports that test a long double for NaN -- e.g. math/p5-PDL's anyval_isbad: Assertion failed: (Legalized && "Can't legalize BR_CC with legal condition!"), function ExpandNode, LegalizeDAG.cpp At -O2 the source pattern "fcmp uno x, 0.0 || fcmp uno y, 0.0" is left as two unordered f128 compares feeding a logical or. SelectionDAG lowers that to a SETCC + BrCond which the PowerPC legalizer turns into an illegal f128 BR_CC it cannot expand, hence the assert. Upstream b23ba298 teaches InstCombine to fold the pair into a single "fcmp uno x, y" (freezing the second operand for poison safety), so the optimizer no longer emits the crashing shape. The PowerPC backend legalizer bug itself remains latent. --=20 You are receiving this mail because: You are the assignee for the bug.=