1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

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".
llvm-svn: 135745
This commit is contained in:
NAKAMURA Takumi 2011-07-22 04:02:22 +00:00
parent cbbabe6d39
commit b5d972a8c9

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")