aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2012-06-11 19:56:57 +0000
committerHal Finkel <hfinkel@anl.gov>2012-06-11 19:56:57 +0000
commit9770be91de745e4727c65c45d13de2a787aef89f (patch)
tree93f484cfea4b8e869ec7c86dc304666a4d54a6dd /lib/Target/PowerPC/PPCSubtarget.cpp
parent7ed1ad54f2c4703e4876ddcc55ba6344371a774f (diff)
Add A2 to the list of PPC CPUs recognized by Linux host CPU-type detection.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp
index ca448bf1de..231995f15a 100644
--- a/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -149,6 +149,7 @@ static const char *GetCurrentPowerPCCPU() {
.Case("PPC970MP", "970")
.Case("G5", "g5")
.Case("POWER5", "g5")
+ .Case("A2", "a2")
.Case("POWER6", "pwr6")
.Case("POWER7", "pwr7")
.Default(generic);