Delete the allocate*TargetMachine function, which is now dead .

The shared command line options are now in a header that makes sense.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14756 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-07-11 04:17:10 +00:00
parent 4e547ec8bf
commit 0cf0c37469
6 changed files with 6 additions and 46 deletions
+1 -9
View File
@@ -18,7 +18,7 @@
#include "llvm/CodeGen/IntrinsicLowering.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Target/TargetMachineImpls.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetMachineRegistry.h"
#include "llvm/Transforms/Scalar.h"
#include "Support/CommandLine.h"
@@ -41,14 +41,6 @@ namespace {
RegisterTarget<X86TargetMachine> X("x86", " IA-32 (Pentium and above)");
}
// allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
// that implements the X86 backend.
//
TargetMachine *llvm::allocateX86TargetMachine(const Module &M,
IntrinsicLowering *IL) {
return new X86TargetMachine(M, IL);
}
unsigned X86TargetMachine::getJITMatchQuality() {
#if defined(i386) || defined(__i386__) || defined(__x86__)
return 10;