StackColoring: Move set instead of copying. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Feb 2015 20:14:38 +0000 (20:14 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Feb 2015 20:14:38 +0000 (20:14 +0000)
llvm-svn: 230864

llvm/lib/CodeGen/StackColoring.cpp

index faf94b6..7572803 100644 (file)
@@ -364,7 +364,7 @@ void StackColoring::calculateLocalLiveness() {
       }
     }
 
-    BBSet = NextBBSet;
+    BBSet = std::move(NextBBSet);
   }// while changed.
 }