RegisterPressure: Remove 0 entries from PressureChange
[oota-llvm.git] / lib / CodeGen / ParallelCG.cpp
index 3e6a71d602b5cb89e3977d9b75c12c90ff372e97..748d3883ea1fe0bf5a85defd690444bb2c41e5b1 100644 (file)
@@ -56,7 +56,7 @@ llvm::splitCodeGen(std::unique_ptr<Module> M,
     return M;
   }
 
-  std::vector<std::thread> Threads;
+  std::vector<thread> Threads;
   SplitModule(std::move(M), OSs.size(), [&](std::unique_ptr<Module> MPart) {
     // We want to clone the module in a new context to multi-thread the codegen.
     // We do it by serializing partition modules to bitcode (while still on the
@@ -88,7 +88,7 @@ llvm::splitCodeGen(std::unique_ptr<Module> M,
         std::move(BC));
   });
 
-  for (std::thread &T : Threads)
+  for (thread &T : Threads)
     T.join();
 
   return {};