Ettore Tiotto
36a4f10376
Fix computeHostNumPhysicalCores() for Linux on POWER and Linux on Z
...
ThinLTO is run using a single thread on Linux on Power. The
compute_thread_count() routine calls getHostNumPhysicalCores which
returns -1 by default, and so `MaxThreadCount is set to 1.
unsigned llvm::ThreadPoolStrategy::compute_thread_count() const {
int MaxThreadCount = UseHyperThreads
? computeHostNumHardwareThreads()
: sys::getHostNumPhysicalCores();
if (MaxThreadCount <= 0)
MaxThreadCount = 1;
…
}
Fix: provide custom implementation of getHostNumPhysicalCores for
Linux on Power and Linux on Z.
Reviewed By: Kai, uweigand
Differential Revision: https://reviews.llvm.org/D84764
2020-07-30 18:05:36 +00:00
..
2020-07-28 06:36:15 -04:00
2020-07-28 16:44:23 +07:00
2020-05-08 11:10:28 +01:00
2019-09-10 22:05:01 +00:00
2020-01-18 09:33:00 -08:00
2020-07-10 18:16:31 -04:00
2020-06-05 17:22:43 -07:00
2020-07-13 17:32:54 +02:00
2020-06-10 16:36:33 +02:00
2020-03-31 16:16:19 +08:00
2020-03-31 16:16:19 +08:00
2020-07-29 14:13:22 +01:00
2019-11-08 13:20:24 +00:00
2020-04-22 12:25:01 +02:00
2020-05-08 14:06:53 +01:00
2020-07-27 15:37:18 -07:00
2020-04-16 15:05:37 +03:00
2020-07-09 10:56:38 +01:00
2020-07-23 23:05:36 -07:00
2020-02-27 17:23:48 -08:00
2020-02-28 09:59:24 +01:00
2020-07-23 23:05:36 -07:00
2020-06-02 12:57:51 +02:00
2020-01-28 23:25:25 +01:00
2020-07-09 11:37:49 +01:00
2019-11-13 16:36:21 -08:00
2020-04-01 21:50:11 +08:00
2020-03-31 16:16:19 +08:00
2019-11-20 17:50:22 -08:00
2020-02-13 10:16:06 -08:00
2020-04-13 13:30:45 -07:00
2020-07-28 19:15:18 -04:00
2020-07-28 19:15:18 -04:00
2020-06-27 11:16:25 +01:00
2020-05-28 14:38:12 +01:00
2020-05-02 15:36:04 +02:00
2020-06-08 23:26:54 +03:00
2020-07-08 11:26:10 +01:00
2020-07-22 15:32:32 -07:00
2020-05-17 18:51:21 +01:00
2020-05-05 17:01:05 -07:00
2020-07-30 18:05:36 +00:00
2020-02-28 09:59:24 +01:00
2020-03-02 22:45:28 +01:00
2020-03-02 22:45:28 +01:00
2020-05-08 14:06:53 +01:00
2020-02-10 07:07:40 -08:00
2020-04-09 10:10:37 +01:00
2020-04-16 15:05:37 +03:00
2020-02-26 09:10:24 -08:00
2020-04-25 02:02:00 +02:00
2020-04-15 14:17:51 -07:00
2020-05-09 13:32:14 +01:00
2020-04-10 00:14:20 -04:00
2020-07-08 10:51:20 -07:00
2020-05-13 13:49:14 -04:00
2020-06-29 13:13:12 +01:00
2020-02-11 10:17:30 -05:00
2020-06-18 09:17:13 -04:00
2020-02-28 09:59:24 +01:00
2020-07-30 13:42:20 +07:00
2019-08-23 17:25:21 +00:00
2020-07-02 14:52:25 +01:00
2020-03-31 16:16:19 +08:00
2020-03-31 16:16:19 +08:00
2020-04-21 15:12:17 +01:00
2020-01-28 23:25:25 +01:00
2020-04-30 17:24:05 -07:00
2020-06-08 09:48:47 -07:00
2020-06-20 00:24:57 -07:00
2020-06-03 16:10:09 -07:00
2020-04-14 19:29:54 -07:00
2020-04-12 08:25:17 -07:00
2020-05-21 16:03:09 +02:00
2020-05-14 19:18:20 -07:00
2020-06-08 12:44:18 -07:00
2020-07-08 13:21:20 -07:00
2020-07-16 11:46:22 -07:00
2020-04-27 10:37:23 -07:00
2020-04-24 15:28:25 -04:00
2020-04-28 12:20:42 -07:00
2020-04-23 01:09:31 +03:00
2020-03-13 08:15:35 -04:00
2020-06-04 14:56:35 +02:00
2020-04-12 14:30:52 +01:00
2020-07-28 14:00:11 +00:00
2020-06-08 11:08:44 +01:00
2020-05-12 15:43:10 -07:00
2020-06-23 17:07:53 +01:00
2020-07-09 14:52:16 -07:00
2020-04-03 18:55:38 +01:00
2020-07-09 02:41:58 -07:00
2020-06-30 12:26:50 +02:00