[polly] r338466 - [JSONExporter] Try to appease buildbot. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 31 17:48:01 PDT 2018
Author: meinersbur
Date: Tue Jul 31 17:48:01 2018
New Revision: 338466
URL: http://llvm.org/viewvc/llvm-project?rev=338466&view=rev
Log:
[JSONExporter] Try to appease buildbot. NFC.
The compiler does not seem to able move a local variable in the
function's return statement.
Modified:
polly/trunk/lib/Exchange/JSONExporter.cpp
Modified: polly/trunk/lib/Exchange/JSONExporter.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Exchange/JSONExporter.cpp?rev=338466&r1=338465&r2=338466&view=diff
==============================================================================
--- polly/trunk/lib/Exchange/JSONExporter.cpp (original)
+++ polly/trunk/lib/Exchange/JSONExporter.cpp Tue Jul 31 17:48:01 2018
@@ -173,7 +173,7 @@ static json::Value getJSON(Scop &S) {
}
root["statements"] = std::move(Statements);
- return root;
+ return json::Value(std::move(root));
}
static void exportScop(Scop &S) {
More information about the llvm-commits
mailing list