diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2015-08-25 23:08:51 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2015-08-25 23:08:51 +0000 |
commit | 1ab47ef7598aae1476871cd8e972786f2742fd40 (patch) | |
tree | 9d3e348de79ce444120ed5484b941a827fa858f4 /devel | |
parent | devel/premake4 is not jobs safe (diff) |
Fix pessimizing moves in devel/llvm36, for the benefit of other ports
PR: 202596
Submitted by: dim
Notes
Notes:
svn path=/head/; revision=395325
Diffstat (limited to 'devel')
-rw-r--r-- | devel/llvm36/Makefile | 2 | ||||
-rw-r--r-- | devel/llvm36/files/patch-include__llvm__ADT__APFloat.h | 11 | ||||
-rw-r--r-- | devel/llvm36/files/patch-include__llvm__IR__PassManager.h | 20 |
3 files changed, 32 insertions, 1 deletions
diff --git a/devel/llvm36/Makefile b/devel/llvm36/Makefile index 3401ed520891..ccf3cffdded4 100644 --- a/devel/llvm36/Makefile +++ b/devel/llvm36/Makefile @@ -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 diff --git a/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h b/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h new file mode 100644 index 000000000000..0c036ba77e20 --- /dev/null +++ b/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h @@ -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; + } + + /// @} diff --git a/devel/llvm36/files/patch-include__llvm__IR__PassManager.h b/devel/llvm36/files/patch-include__llvm__IR__PassManager.h new file mode 100644 index 000000000000..ae890f16f866 --- /dev/null +++ b/devel/llvm36/files/patch-include__llvm__IR__PassManager.h @@ -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. |