mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 16:37:42 +00:00
[SystemZ] Remove TargetMachine CPU auto-detection
As was done for X86 in r206094. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0bd11cd898
commit
b42e01326d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user