]> granicus.if.org Git - llvm/commitdiff
Fix build bot after r338521
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 1 Aug 2018 12:07:32 +0000 (12:07 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Wed, 1 Aug 2018 12:07:32 +0000 (12:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338522 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/CodeGenDAGPatterns.cpp

index f13f8391b02021c4c97d9b8c8b3f614cedd02bcb..cc2b9d788980b3d2396214c94bc474acd234bf6b 100644 (file)
@@ -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;
 }