lib/Support/Triple.cpp: Recognize "-march=ppc32" to llc properly, as quick hack.

FIXME: There is an inconsistency. llvm::Triple does not understand "ppc32" and PowerPC/TargetInfo holds "ppc32".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135745 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2011-07-22 04:02:22 +00:00
parent 118973a2c5
commit 12b2772578

View File

@ -148,6 +148,8 @@ Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) {
return msp430;
if (Name == "ppc64")
return ppc64;
if (Name == "ppc32")
return ppc;
if (Name == "ppc")
return ppc;
if (Name == "mblaze")