diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-16 17:41:44 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-07-16 17:41:44 +0000 |
| commit | 160fe2680efe1d42179ec4907e7eabc70a4d643c (patch) | |
| tree | a0a50ee74203c5f91a47242f5a54c171baf58610 /lib/Target/X86/X86TargetMachine.cpp | |
| parent | a790ad8d45dc6a880293233954862737971542b6 (diff) | |
| download | external_llvm-160fe2680efe1d42179ec4907e7eabc70a4d643c.zip external_llvm-160fe2680efe1d42179ec4907e7eabc70a4d643c.tar.gz external_llvm-160fe2680efe1d42179ec4907e7eabc70a4d643c.tar.bz2 | |
Remove the X86::FP_REG_KILL pseudo-instruction and the X86FloatingPointRegKill
pass that inserted it.
It is no longer necessary to limit the live ranges of FP registers to a single
basic block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108536 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
| -rw-r--r-- | lib/Target/X86/X86TargetMachine.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 2a93a2d..900b516 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -19,15 +19,11 @@ #include "llvm/CodeGen/Passes.h" #include "llvm/MC/MCCodeEmitter.h" #include "llvm/MC/MCStreamer.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/FormattedStream.h" #include "llvm/Target/TargetOptions.h" #include "llvm/Target/TargetRegistry.h" using namespace llvm; -static cl::opt<bool> -LiveX87("live-x87", cl::desc("Allow live X87 registers across blocks")); - static MCAsmInfo *createMCAsmInfo(const Target &T, StringRef TT) { Triple TheTriple(TT); switch (TheTriple.getOS()) { @@ -186,10 +182,6 @@ bool X86TargetMachine::addInstSelector(PassManagerBase &PM, bool X86TargetMachine::addPreRegAlloc(PassManagerBase &PM, CodeGenOpt::Level OptLevel) { - // Install a pass to insert x87 FP_REG_KILL instructions, as needed. - if (!LiveX87) - PM.add(createX87FPRegKillInserterPass()); - PM.add(createX86MaxStackAlignmentHeuristicPass()); return false; // -print-machineinstr shouldn't print after this. } |
