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:
parent
f12e4e914b
commit
af8d50ddb3
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue