mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Enable gp optimizations by default when available, even when a target triple
is available, since the target triple doesn't specify whether to use gpopts or not. llvm-svn: 22685
This commit is contained in:
parent
19959252ea
commit
79095d3416
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user