summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2015-04-30 23:07:00 +0000
committerRichard Trieu <rtrieu@google.com>2015-04-30 23:07:00 +0000
commit6ae37961a8d8538d254e4e4aa1dc60026fe381a2 (patch)
treed482bdd17df2c6880c06c07bd186942303060cf3 /llvm/lib/Analysis
parent2e5d484597ff0ab232f8db03c5e2bb2933cdb88e (diff)
downloadbcm5719-llvm-6ae37961a8d8538d254e4e4aa1dc60026fe381a2.tar.gz
bcm5719-llvm-6ae37961a8d8538d254e4e4aa1dc60026fe381a2.zip
Fix -Wpessimizing-move warnings by removing std::move calls.
llvm-svn: 236278
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/LoopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp
index 6462b0670ff..b3a33326c00 100644
--- a/llvm/lib/Analysis/LoopInfo.cpp
+++ b/llvm/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,
OpenPOWER on IntegriCloud