Date: Mon, 09 Sep 2019 17:59:01 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 236567] lang/spidermonkey170, lang/spidermonkey38: clang 8 crashes during build on armv7 and armv6 Message-ID: <bug-236567-21738-NiPt8wc1Wj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236567-21738@https.bugs.freebsd.org/bugzilla/> References: <bug-236567-21738@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=3D236567 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Mon Sep 9 17:58:27 UTC 2019 New revision: 352089 URL: https://svnweb.freebsd.org/changeset/base/352089 Log: MFC r351938: Pull in r371111 from upstream llvm trunk (by Eli Friedman): [IfConversion] Fix diamond conversion with unanalyzable branches. The code was incorrectly counting the number of identical instructions, and therefore tried to predicate an instruction which should not have been predicated. This could have various effects: a compiler crash, an assembler failure, a miscompile, or just generating an extra, unnecessary instruction. Instead of depending on TargetInstrInfo::removeBranch, which only works on analyzable branches, just remove all branch instructions. Fixes https://bugs.llvm.org/show_bug.cgi?id=3D43121 and https://bugs.llvm.org/show_bug.cgi?id=3D41121 . Differential Revision: https://reviews.llvm.org/D67203 This should fix "Unable to predicate BX killed renamable $r0" errors when building the lang/spidermonkey170 and lang/spidermonkey38 ports for armv7 and armv6. PR: 236567 Changes: _U stable/11/ stable/11/contrib/llvm/lib/CodeGen/IfConversion.cpp _U stable/12/ stable/12/contrib/llvm/lib/CodeGen/IfConversion.cpp --=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-236567-21738-NiPt8wc1Wj>