summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2003-12-20 16:22:59 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2003-12-20 16:22:59 +0000
commit68cff6bf4daba5974f17639d829afc4aeee70010 (patch)
tree241391c147765cbbfbc50eb7e3bab7b8317226ee /llvm/lib/Target/X86/X86TargetMachine.cpp
parent6448f89cdc0eb8a80cfcb0bedb2f0eea8621d2e1 (diff)
downloadbcm5719-llvm-68cff6bf4daba5974f17639d829afc4aeee70010.tar.gz
bcm5719-llvm-68cff6bf4daba5974f17639d829afc4aeee70010.zip
Remove floating point killer pass. This is now implemented in the
instruction selector by adding a new pseudo-instruction FP_REG_KILL. This instruction implicitly defines all x86 fp registers and is a terminator so that passes which add machine code at the end of basic blocks (like phi elimination) do not add instructions between it and the branch or return instruction. llvm-svn: 10562
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetMachine.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index a56e35f4d6f..8440838fbfa 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/lib/Target/X86/X86TargetMachine.cpp
@@ -76,11 +76,6 @@ bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
if (PrintCode)
PM.add(createMachineFunctionPrinterPass());
- // kill floating point registers at the end of basic blocks. this is
- // done because the floating point register stackifier cannot handle
- // floating point regs that are live across basic blocks.
- //PM.add(createX86FloatingPointKillerPass());
-
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());
@@ -138,11 +133,6 @@ void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
if (PrintCode)
PM.add(createMachineFunctionPrinterPass());
- // kill floating point registers at the end of basic blocks. this is
- // done because the floating point register stackifier cannot handle
- // floating point regs that are live across basic blocks.
- //PM.add(createX86FloatingPointKillerPass());
-
// Perform register allocation to convert to a concrete x86 representation
PM.add(createRegisterAllocator());
OpenPOWER on IntegriCloud