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:
parent
cbbabe6d39
commit
b5d972a8c9
@ -148,6 +148,8 @@ Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) {
|
|||||||
return msp430;
|
return msp430;
|
||||||
if (Name == "ppc64")
|
if (Name == "ppc64")
|
||||||
return ppc64;
|
return ppc64;
|
||||||
|
if (Name == "ppc32")
|
||||||
|
return ppc;
|
||||||
if (Name == "ppc")
|
if (Name == "ppc")
|
||||||
return ppc;
|
return ppc;
|
||||||
if (Name == "mblaze")
|
if (Name == "mblaze")
|
||||||
|
Loading…
Reference in New Issue
Block a user