aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-05 18:12:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-05 18:12:37 +0000
commite22f4da01d57f51757663fdcae986af0aeca49fe (patch)
tree459cbd089ca5fdd54a66f17638ee59a6a6c619e3 /lib/Target/PowerPC/PPCSubtarget.cpp
parent74f6f9a931e313948782aed9d463ea83cc3e214c (diff)
Remove some dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.cpp b/lib/Target/PowerPC/PPCSubtarget.cpp
index e0937e21c1..ef17105160 100644
--- a/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -103,15 +103,6 @@ PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &FS,
else
DarwinVers = 8; // Minimum supported darwin is Tiger.
}
- } else if (TT.empty()) {
- // Try to autosense the subtarget from the host compiler.
-#if defined(__APPLE__)
-#if __APPLE_CC__ > 5400
- DarwinVers = 9; // GCC 5400+ is Leopard.
-#else
- DarwinVers = 8; // Minimum supported darwin is Tiger.
-#endif
-#endif
}
// Set up darwin-specific properties.