projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ed1ad5
)
Add A2 to the list of PPC CPUs recognized by Linux host CPU-type detection.
author
Hal Finkel
<hfinkel@anl.gov>
Mon, 11 Jun 2012 19:56:57 +0000
(19:56 +0000)
committer
Hal Finkel
<hfinkel@anl.gov>
Mon, 11 Jun 2012 19:56:57 +0000
(19:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158322
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCSubtarget.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCSubtarget.cpp
b/lib/Target/PowerPC/PPCSubtarget.cpp
index ca448bf1de252f7ef5bf6ceabdfbb13c5d9643d5..231995f15abfe02bf8bfbca7a161329d7d28af2b 100644
(file)
--- 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);