summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2019-03-29 22:27:10 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2019-03-29 22:27:10 +0000
commit53a5952a9318c410964e1ca38737e8a28c015eea (patch)
tree21e8d251cbf447987085a30bf1ec566d80567006 /llvm/lib/Analysis/ScalarEvolution.cpp
parent6b39f10a00c07bae84d7458e6a616351017bb7c0 (diff)
downloadbcm5719-llvm-53a5952a9318c410964e1ca38737e8a28c015eea.tar.gz
bcm5719-llvm-53a5952a9318c410964e1ca38737e8a28c015eea.zip
Try to fix buildbot error
Error is: llvm/lib/Analysis/ScalarEvolution.cpp:3534:10: error: chosen constructor is explicit in copy-initialization return {UniqueSCEVs.FindNodeOrInsertPos(ID, IP), std::move(ID), IP}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/aarch64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/tuple:479:19: note: explicit constructor declared here constexpr tuple(_UElements&&... __elements) ^ 1 error generated. llvm-svn: 357324
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index fd759bd80fc..dff80fbb24d 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -3531,7 +3531,8 @@ ScalarEvolution::findExistingSCEVInCache(int SCEVType,
ID.AddInteger(SCEVType);
for (unsigned i = 0, e = Ops.size(); i != e; ++i)
ID.AddPointer(Ops[i]);
- return {UniqueSCEVs.FindNodeOrInsertPos(ID, IP), std::move(ID), IP};
+ return std::tuple<const SCEV *, FoldingSetNodeID, void *>(
+ UniqueSCEVs.FindNodeOrInsertPos(ID, IP), std::move(ID), IP);
}
const SCEV *
OpenPOWER on IntegriCloud