Craig Topper
d5c28c4094
[X86] Move CPUKind enum from clang to llvm/lib/Support. NFCI
...
Similar to what some other targets have done. This information
could be reused by other frontends so doesn't make sense to live
in clang.
-Rename CK_Generic to CK_None to better reflect its illegalness.
-Move function for translating from string to enum into llvm.
-Call checkCPUKind directly from the string to enum translation
and update CPU kind to CK_None accordinly. Caller will use CK_None
as sentinel for bad CPU.
I'm planning to move all the CPU to feature mapping out next. As
part of that I want to devise a better way to express CPUs inheriting
features from an earlier CPU. Allowing this to be expressed in a
less rigid way than just falling through a switch. Or using gotos
as we've had to do lately.
Differential Revision: https://reviews.llvm.org/D81439
2020-06-09 12:52:41 -07:00
..
2020-06-03 15:40:12 +07:00
2020-06-03 15:40:12 +07:00
2020-05-08 11:10:28 +01:00
2020-01-18 09:33:00 -08:00
2019-11-20 15:53:55 +05:30
2020-06-05 17:22:43 -07:00
2020-04-14 18:16:15 +02:00
2020-03-02 22:45:28 +01:00
2020-03-31 16:16:19 +08:00
2020-03-31 16:16:19 +08:00
2020-05-08 11:10:28 +01:00
2020-04-22 12:25:01 +02:00
2020-05-08 14:06:53 +01:00
2020-06-09 12:52:41 -07:00
2020-04-16 15:05:37 +03:00
2020-06-02 11:06:11 -07:00
2020-05-03 15:01:52 +02:00
2020-02-27 17:23:48 -08:00
2020-02-28 09:59:24 +01:00
2020-03-03 11:03:09 +01:00
2020-06-02 12:57:51 +02:00
2020-01-28 23:25:25 +01:00
2020-01-28 23:25:25 +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-05-28 13:07:06 +01:00
2020-06-04 11:18:35 +00:00
2020-04-29 11:47:23 -07: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-03-16 14:04:25 -04:00
2020-04-11 14:54:32 +02:00
2020-05-17 18:51:21 +01:00
2020-05-05 17:01:05 -07:00
2020-05-28 19:54:18 +01: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-03-31 08:46:12 -07:00
2020-05-13 13:49:14 -04:00
2020-03-26 16:39:03 -07:00
2020-02-11 10:17:30 -05:00
2020-02-28 09:59:24 +01:00
2020-06-09 12:51:02 +01:00
2020-03-02 22:45:28 +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-01-28 23:25:25 +01: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-04-10 13:37:32 -04: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-04-11 17:20:11 +02:00
2020-06-08 11:08:44 +01:00
2020-05-12 15:43:10 -07:00
2020-06-08 09:48:47 -07:00
2020-06-09 12:52:41 -07:00
2020-04-03 18:55:38 +01:00
2020-05-26 11:07:27 -07:00
2020-05-14 15:46:13 +02:00