diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-03-30 13:46:25 +0000 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2015-03-30 13:46:25 +0000 |
| commit | 58bb263eed58b8b3cd8b92794a58fe9344e476f1 (patch) | |
| tree | 20814b1b84636436badc2237ef57162d04fbdc1b | |
| parent | c9d069222e4307acb25288c3b2614c0e93560d51 (diff) | |
| download | bcm5719-llvm-58bb263eed58b8b3cd8b92794a58fe9344e476f1.tar.gz bcm5719-llvm-58bb263eed58b8b3cd8b92794a58fe9344e476f1.zip | |
[SystemZ] Remove TargetMachine CPU auto-detection
As was done for X86 in r206094.
llvm-svn: 233540
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZSubtarget.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp b/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp index 31a2bfff946..4b5c23cefc9 100644 --- a/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp +++ b/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp @@ -10,7 +10,6 @@ #include "SystemZSubtarget.h" #include "MCTargetDesc/SystemZMCTargetDesc.h" #include "llvm/IR/GlobalValue.h" -#include "llvm/Support/Host.h" using namespace llvm; @@ -28,10 +27,6 @@ SystemZSubtarget::initializeSubtargetDependencies(StringRef CPU, StringRef FS) { std::string CPUName = CPU; if (CPUName.empty()) CPUName = "generic"; -#if defined(__linux__) && defined(__s390x__) - if (CPUName == "generic") - CPUName = sys::getHostCPUName(); -#endif // Parse features string. ParseSubtargetFeatures(CPUName, FS); return *this; |

