diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-07-15 01:24:23 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-07-15 01:24:23 +0000 |
| commit | e1758d4cef94692a7164f57d8b30bd8085d921fa (patch) | |
| tree | a3466371d5485b230ace4bebc440b990c4a46119 /llvm/lib/Target/PowerPC/PPCSubtarget.cpp | |
| parent | 45fcadc9f0daec35a48d5346b49effe03bb42237 (diff) | |
| download | llvm-e1758d4cef94692a7164f57d8b30bd8085d921fa.zip llvm-e1758d4cef94692a7164f57d8b30bd8085d921fa.tar.gz llvm-e1758d4cef94692a7164f57d8b30bd8085d921fa.tar.bz2 | |
Remove what little AIX support we have. It has never been tested and isn't
complete.
llvm-svn: 29156
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp index 2b78f9e..643acc2 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp @@ -66,7 +66,6 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS, bool is64Bit) , HasAltivec(false) , HasFSQRT(false) , HasSTFIWX(false) - , IsAIX(false) , IsDarwin(false) { // Determine default and user specified characteristics @@ -102,12 +101,8 @@ PPCSubtarget::PPCSubtarget(const Module &M, const std::string &FS, bool is64Bit) const std::string& TT = M.getTargetTriple(); if (TT.length() > 5) { IsDarwin = TT.find("-darwin") != std::string::npos; - if (!IsDarwin) - IsAIX = TT.find("-aix") != std::string::npos; } else if (TT.empty()) { -#if defined(_POWER) - IsAIX = true; -#elif defined(__APPLE__) +#if defined(__APPLE__) IsDarwin = true; #endif } |
