|
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. |