summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-11-26 22:55:05 +0000
committerChad Rosier <mcrosier@apple.com>2012-11-26 22:55:05 +0000
commit4179e3f5131d0d6cf3663d83588b71f7b4442003 (patch)
tree60fa7cbcdcd5353241a16913536e6d7aae88996b /llvm/lib/Target/X86/X86.h
parent9407e50b041301bbd7ba458bc910db94b94d5da3 (diff)
downloadbcm5719-llvm-4179e3f5131d0d6cf3663d83588b71f7b4442003.tar.gz
bcm5719-llvm-4179e3f5131d0d6cf3663d83588b71f7b4442003.zip
Remove the X86 Maximal Stack Alignment Check pass as it is no longer necessary.
This pass was conservative in that it always reserved the FP to enable dynamic stack realignment, which allowed the RA to use aligned spills for vector registers. This happens even when spills were not necessary. The RA has since been improved to use unaligned spills when necessary. The new behavior is to realign the stack if the frame pointer was already reserved for some other reason, but don't reserve the frame pointer just because a function contains vector virtual registers. Part of rdar://12719844 llvm-svn: 168627
Diffstat (limited to 'llvm/lib/Target/X86/X86.h')
-rw-r--r--llvm/lib/Target/X86/X86.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86.h b/llvm/lib/Target/X86/X86.h
index dce5b4d2b00..1e7b98d94f4 100644
--- a/llvm/lib/Target/X86/X86.h
+++ b/llvm/lib/Target/X86/X86.h
@@ -63,12 +63,6 @@ FunctionPass *createX86JITCodeEmitterPass(X86TargetMachine &TM,
///
FunctionPass *createEmitX86CodeToMemory();
-/// createX86MaxStackAlignmentHeuristicPass - This function returns a pass
-/// which determines whether the frame pointer register should be
-/// reserved in case dynamic stack alignment is later required.
-///
-FunctionPass *createX86MaxStackAlignmentHeuristicPass();
-
} // End llvm namespace
#endif
OpenPOWER on IntegriCloud