From b5d972a8c956c6e5a4053180bd7c54aa1f96d6fd Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Fri, 22 Jul 2011 04:02:22 +0000 Subject: [PATCH] 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 --- lib/Support/Triple.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 7e094ee78f3..20026194b85 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -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")