From: Ulrich Weigand Date: Wed, 1 Aug 2018 12:07:32 +0000 (+0000) Subject: Fix build bot after r338521 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=185957447e5e0edbcc1cb44e5999861b7dd26353;p=llvm Fix build bot after r338521 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338522 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenDAGPatterns.cpp b/utils/TableGen/CodeGenDAGPatterns.cpp index f13f8391b02..cc2b9d78898 100644 --- a/utils/TableGen/CodeGenDAGPatterns.cpp +++ b/utils/TableGen/CodeGenDAGPatterns.cpp @@ -3959,7 +3959,7 @@ static TreePatternNodePtr PromoteXForms(TreePatternNodePtr N) { if (!N->isLeaf()) for (unsigned i = 0, e = N->getNumChildren(); i != e; ++i) { TreePatternNodePtr Child = N->getChildShared(i); - N->setChild(i, std::move(PromoteXForms(Child))); + N->setChild(i, PromoteXForms(Child)); } return N; }