Date: Fri, 06 Sep 2019 16:07:29 +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-3FivG3UgM9@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 #4 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Fri Sep 6 16:06:38 UTC 2019 New revision: 351938 URL: https://svnweb.freebsd.org/changeset/base/351938 Log: 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 MFC after: 3 days Changes: head/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-3FivG3UgM9>