diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-22 04:02:22 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-07-22 04:02:22 +0000 |
commit | 12b2772578103952fb623b551fcaeb3cce069467 (patch) | |
tree | e89f0729bce5476bb0cf8ad229613fd56905513c /lib/Support/Triple.cpp | |
parent | 118973a2c55452aa1242b11a529ca3f36586e3fb (diff) |
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
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r-- | lib/Support/Triple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 7e094ee78f..20026194b8 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") |