projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da08078
)
[JSONExporter] Try to appease buildbot. NFC.
author
Michael Kruse
<llvm@meinersbur.de>
Wed, 1 Aug 2018 00:48:01 +0000
(
00:48
+0000)
committer
Michael Kruse
<llvm@meinersbur.de>
Wed, 1 Aug 2018 00:48:01 +0000
(
00:48
+0000)
The compiler does not seem to able move a local variable in the
function's return statement.
llvm-svn: 338466
polly/lib/Exchange/JSONExporter.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/Exchange/JSONExporter.cpp
b/polly/lib/Exchange/JSONExporter.cpp
index
7e77280
..
423768b
100644
(file)
--- a/
polly/lib/Exchange/JSONExporter.cpp
+++ b/
polly/lib/Exchange/JSONExporter.cpp
@@
-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) {