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:
7f9b4e9
)
Enable gp optimizations by default when available, even when a target triple
author
Chris Lattner
<sabre@nondot.org>
Fri, 5 Aug 2005 21:25:13 +0000
(21:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 5 Aug 2005 21:25:13 +0000
(21:25 +0000)
is available, since the target triple doesn't specify whether to use gpopts
or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22685
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 4fae1a2d1de75662787a042c36b8ed6aa5ce0903..3bfa7a6eefe8a1ebe2c90634eb30d7ee4143e338 100644
(file)
--- a/
lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/
lib/Target/PowerPC/PPCSubtarget.cpp
@@
-43,6
+43,9
@@
PPCSubtarget::PPCSubtarget(const Module &M)
const std::string& TT = M.getTargetTriple();
if (TT.length() > 5) {
isDarwin = TT.find("darwin") != std::string::npos;
+#if defined(__APPLE__)
+ isGigaProcessor = IsGP();
+#endif
} else if (TT.empty()) {
#if defined(_POWER)
isAIX = true;