Date: Tue, 7 Apr 2020 22:00:25 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r531039 - in head/devel/llvm10: . files Message-ID: <202004072200.037M0PtQ042178@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Tue Apr 7 22:00:24 2020 New Revision: 531039 URL: https://svnweb.freebsd.org/changeset/ports/531039 Log: Revert upstream 18bfb3a. The commit in question causes miscompiliation of VirtualBox. Efforts to create a reproducer are underway, but quite complicated. Submitted by: kevans Sponsored by: DARPA Added: head/devel/llvm10/files/patch-llvm-revert-18bfb3a (contents, props changed) Modified: head/devel/llvm10/Makefile Modified: head/devel/llvm10/Makefile ============================================================================== --- head/devel/llvm10/Makefile Tue Apr 7 21:58:34 2020 (r531038) +++ head/devel/llvm10/Makefile Tue Apr 7 22:00:24 2020 (r531039) @@ -2,7 +2,7 @@ PORTNAME= llvm DISTVERSION= 10.0.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \ https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR} Added: head/devel/llvm10/files/patch-llvm-revert-18bfb3a ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/llvm10/files/patch-llvm-revert-18bfb3a Tue Apr 7 22:00:24 2020 (r531039) @@ -0,0 +1,16 @@ +--- lib/CodeGen/Analysis.cpp.orig 2020-03-26 15:48:08 UTC ++++ lib/CodeGen/Analysis.cpp +@@ -538,11 +538,10 @@ bool llvm::isInTailCallPosition(ImmutableCallSite CS, + // Debug info intrinsics do not get in the way of tail call optimization. + if (isa<DbgInfoIntrinsic>(BBI)) + continue; +- // A lifetime end or assume intrinsic should not stop tail call ++ // An assume intrinsic should not stop tail call + // optimization. + if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(BBI)) +- if (II->getIntrinsicID() == Intrinsic::lifetime_end || +- II->getIntrinsicID() == Intrinsic::assume) ++ if (II->getIntrinsicID() == Intrinsic::assume) + continue; + if (BBI->mayHaveSideEffects() || BBI->mayReadFromMemory() || + !isSafeToSpeculativelyExecute(&*BBI))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004072200.037M0PtQ042178>