[llvm] r357324 - Try to fix buildbot error
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 29 15:27:10 PDT 2019
Author: sanjoy
Date: Fri Mar 29 15:27:10 2019
New Revision: 357324
URL: http://llvm.org/viewvc/llvm-project?rev=357324&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=357324&r1=357323&r2=357324&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Fri Mar 29 15:27:10 2019
@@ -3531,7 +3531,8 @@ ScalarEvolution::findExistingSCEVInCache
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 *
More information about the llvm-commits
mailing list