Driver: Add two normalizations for powerpc.

- PR3830

llvm-svn: 67166
This commit is contained in:
Daniel Dunbar 2009-03-18 04:41:46 +00:00
parent c2a0b97950
commit 1197adcbf1
1 changed files with 2 additions and 0 deletions

View File

@ -860,6 +860,8 @@ const HostInfo *Driver::GetHostInfo(const char *Triple) const {
Arch = "i386";
else if (Arch == "amd64")
Arch = "x86_64";
else if (Arch == "powerpc" || Arch == "Power Macintosh")
Arch = "ppc";
if (memcmp(&OS[0], "darwin", 6) == 0)
return createDarwinHostInfo(*this, Arch.c_str(), Platform.c_str(),