diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-09-18 22:25:03 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-09-18 22:25:03 +0000 |
commit | 7de32964026e4c5ff32cbca484ffb24e73393d87 (patch) | |
tree | e6266e2733a8dc88c6d15c34f6f349337e8d5661 /lib | |
parent | 97c6739a1e74a3131261081054ff4a75e4e3b64c (diff) |
Add e500mc and e5500 to the list of valid PPC CPU names.
Patch by Tobias von Koch!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Basic/Targets.cpp | 2 | ||||
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index a02ad6d38d..3720d47e55 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -641,6 +641,8 @@ public: .Case("970", true) .Case("g5", true) .Case("a2", true) + .Case("e500mc", true) + .Case("e5500", true) .Case("pwr6", true) .Case("pwr7", true) .Case("ppc", true) diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index 63182f8c28..960ffde228 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -968,6 +968,8 @@ static std::string getPPCTargetCPU(const ArgList &Args) { .Case("970", "970") .Case("G5", "g5") .Case("a2", "a2") + .Case("e500mc", "e500mc") + .Case("e5500", "e5500") .Case("power6", "pwr6") .Case("power7", "pwr7") .Case("powerpc", "ppc") |