Lost target in Triple

I add solaris and pic16.
And add support for mingw.

lostTriple.patch (2.58 KB)

Hello

I add solaris and pic16.
And add support for mingw.

Mingw part is not ok. The proper rules should be:

i[[3456789]]86-*-mingw32* => mingw32
x86_64-*-mingw* => mingw64

Is it possible to merger mingw32 and mingw64 with mingw, because we
can distinguish them with arch(i386,amd64)

Mingw part is not ok. The proper rules should be:

i[[3456789]]86-*-mingw32* => mingw32
x86_64-*-mingw* => mingw64

I add support for
     pic16, // PIC16: pic16
    Solaris,

For the consistency and simplicity, and merge MinGW32 and MinGW64 to MinGW.
And some change in Triple.cpp for the clang project.

triple.patch (3.15 KB)

Notice!! sorry for that, the patch is incorrect, i attached the new one.

triple.patch (3.66 KB)

Hi Yonggang,

I cherry picked some parts of this patch in r7931{4,5}.

The other changes I'm not sure about.

1. Re: mingw, looks fine to me to unify them, but I need someone to
sign off on this (since in theory there could be a difference between,
say, i386-unknown-mingw23 and i386-unknown-mingw64 which someone cares
about).

2. Re: Making the arm and thumb patterns more open; I'd rather not do
this. I'd actually prefer to make the patterns more restrictive, for
example only accept things like 'armv{4t,5,6,7}' instead of 'armv.*'.
Likewise for ppc (my understanding is ppc-x-y has never been a valid
triple). If these changes were only made to synchronize the code with
the patterns clang was accepting, we should go with the more
restrictive tests for now.

Thanks!

- Daniel