Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2015 23:08:52 +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: r395325 - in head/devel/llvm36: . files
Message-ID:  <201508252308.t7PN8qgW009373@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Tue Aug 25 23:08:51 2015
New Revision: 395325
URL: https://svnweb.freebsd.org/changeset/ports/395325

Log:
  Fix pessimizing moves in devel/llvm36, for the benefit of other ports
  
  PR:		202596
  Submitted by:	dim

Added:
  head/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h   (contents, props changed)
  head/devel/llvm36/files/patch-include__llvm__IR__PassManager.h   (contents, props changed)
Modified:
  head/devel/llvm36/Makefile

Modified: head/devel/llvm36/Makefile
==============================================================================
--- head/devel/llvm36/Makefile	Tue Aug 25 23:00:48 2015	(r395324)
+++ head/devel/llvm36/Makefile	Tue Aug 25 23:08:51 2015	(r395325)
@@ -2,7 +2,7 @@
 
 PORTNAME=	llvm
 DISTVERSION=	3.6.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel lang
 MASTER_SITES=	http://llvm.org/releases/3.6.2/
 DISTNAME=	${PORTNAME}-${DISTVERSION}.src

Added: head/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h	Tue Aug 25 23:08:51 2015	(r395325)
@@ -0,0 +1,11 @@
+--- include/llvm/ADT/APFloat.h.orig	2014-10-10 10:27:22.000000000 +0200
++++ include/llvm/ADT/APFloat.h	2015-08-23 18:33:44.005954000 +0200
+@@ -349,7 +349,7 @@ public:
+   /// copied from some other APFloat.
+   static APFloat copySign(APFloat Value, const APFloat &Sign) {
+     Value.copySign(Sign);
+-    return std::move(Value);
++    return Value;
+   }
+ 
+   /// @}

Added: head/devel/llvm36/files/patch-include__llvm__IR__PassManager.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/llvm36/files/patch-include__llvm__IR__PassManager.h	Tue Aug 25 23:08:51 2015	(r395325)
@@ -0,0 +1,20 @@
+--- include/llvm/IR/PassManager.h.orig	2015-01-13 23:42:38.000000000 +0100
++++ include/llvm/IR/PassManager.h	2015-08-23 18:33:44.006587000 +0200
+@@ -502,7 +502,7 @@ private:
+   PreservedAnalyses invalidateImpl(IRUnitT &IR, PreservedAnalyses PA) {
+     // Short circuit for a common case of all analyses being preserved.
+     if (PA.areAllPreserved())
+-      return std::move(PA);
++      return PA;
+ 
+     if (DebugLogging)
+       dbgs() << "Invalidating all non-preserved analyses for: "
+@@ -542,7 +542,7 @@ private:
+     if (ResultsList.empty())
+       AnalysisResultLists.erase(&IR);
+ 
+-    return std::move(PA);
++    return PA;
+   }
+ 
+   /// \brief List of function analysis pass IDs and associated concept pointers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508252308.t7PN8qgW009373>