[X86] Add 'cooperlake' and 'tigerlake' to __builtin_cpu_is.
authorCraig Topper <craig.topper@intel.com>
Sun, 21 Jun 2020 18:30:00 +0000 (11:30 -0700)
committerCraig Topper <craig.topper@intel.com>
Sun, 21 Jun 2020 20:03:18 +0000 (13:03 -0700)
commit42c176c32851833f32863412e74235f085adc801
treea18a624777d5f061739152c8872abd1ba763dda8
parent0e6c9316d4c532ba1a024bc0ea552a0b866df4f1
[X86] Add 'cooperlake' and 'tigerlake' to __builtin_cpu_is.

Cooperlake can be detect by compiler-rt now, but not libgcc yet.
Tigerlake can't be detected by either. Both names are accepted by
gcc. Hopefully the detection code will be in place soon.
clang/test/CodeGen/target-builtin-noerror.c
llvm/include/llvm/Support/X86TargetParser.def