[CMake] Make the vendor part of default mingw triples consistent
authorMartin Storsjö <martin@martin.st>
Wed, 11 Aug 2021 11:06:28 +0000 (14:06 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 12 Aug 2021 10:27:09 +0000 (13:27 +0300)
commit592adb0b24aca2ccc88d9f5f1c427361897d1172
tree8035b93fec6ea3a508dcd9b696f04683504adc3b
parentf8340c8c5de6273c2f000a8cef7e1de056b34332
[CMake] Make the vendor part of default mingw triples consistent

Consistently use 'w64' as vendor string; it was 'pc' for the original
i686 triple added in 91bd6c922d7cf, but the later x86_64 triple
used 'w64' as vendor, added in d6c1f37f86440.

When the arm triples were added in c84ad73a27da6, the differing
vendors were copied over accidentally to the arm targets too.

When using per-target runtime directories, having inconsistent vendor
parts of the target triples is fatal.

Differential Revision: https://reviews.llvm.org/D107894
llvm/cmake/modules/GetHostTriple.cmake