View | Details | Raw Unified | Return to bug 202596
Collapse All | Expand All

(-)devel/llvm36/files/patch-include__llvm__ADT__APFloat.h (+11 lines)
Line 0 Link Here
1
--- include/llvm/ADT/APFloat.h.orig	2014-10-10 10:27:22.000000000 +0200
2
+++ include/llvm/ADT/APFloat.h	2015-08-23 18:33:44.005954000 +0200
3
@@ -349,7 +349,7 @@ public:
4
   /// copied from some other APFloat.
5
   static APFloat copySign(APFloat Value, const APFloat &Sign) {
6
     Value.copySign(Sign);
7
-    return std::move(Value);
8
+    return Value;
9
   }
10
 
11
   /// @}
(-)devel/llvm36/files/patch-include__llvm__IR__PassManager.h (+20 lines)
Line 0 Link Here
1
--- include/llvm/IR/PassManager.h.orig	2015-01-13 23:42:38.000000000 +0100
2
+++ include/llvm/IR/PassManager.h	2015-08-23 18:33:44.006587000 +0200
3
@@ -502,7 +502,7 @@ private:
4
   PreservedAnalyses invalidateImpl(IRUnitT &IR, PreservedAnalyses PA) {
5
     // Short circuit for a common case of all analyses being preserved.
6
     if (PA.areAllPreserved())
7
-      return std::move(PA);
8
+      return PA;
9
 
10
     if (DebugLogging)
11
       dbgs() << "Invalidating all non-preserved analyses for: "
12
@@ -542,7 +542,7 @@ private:
13
     if (ResultsList.empty())
14
       AnalysisResultLists.erase(&IR);
15
 
16
-    return std::move(PA);
17
+    return PA;
18
   }
19
 
20
   /// \brief List of function analysis pass IDs and associated concept pointers.

Return to bug 202596