projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix -Wpessimizing-move warnings by removing std::move calls.
[oota-llvm.git]
/
lib
/
Analysis
/
LoopInfo.cpp
diff --git
a/lib/Analysis/LoopInfo.cpp
b/lib/Analysis/LoopInfo.cpp
index 6462b0670ffec1adb6fd8ce858018bbe1e778019..b3a33326c00a7c18d466f5ce1442b9f422f7d6ae 100644
(file)
--- a/
lib/Analysis/LoopInfo.cpp
+++ b/
lib/Analysis/LoopInfo.cpp
@@
-680,7
+680,7
@@
LoopInfo LoopAnalysis::run(Function &F, AnalysisManager<Function> *AM) {
// the problem is better understood.
LoopInfo LI;
LI.Analyze(AM->getResult<DominatorTreeAnalysis>(F));
- return
std::move(LI)
;
+ return
LI
;
}
PreservedAnalyses LoopPrinterPass::run(Function &F,