summaryrefslogtreecommitdiff
path: root/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-06-04 22:05:33 +0000
committerDevang Patel <dpatel@apple.com>2009-06-04 22:05:33 +0000
commitd18e31ae17390d9c6f6cf93d18badf962452031d (patch)
treebf18aac26483ba94dfa71c81dc2f5d2fb2bbe517 /lib/Target/TargetMachine.cpp
parent4c9369df57a52cec5e1fc735e61a979766288074 (diff)
downloadllvm-d18e31ae17390d9c6f6cf93d18badf962452031d.tar.gz
llvm-d18e31ae17390d9c6f6cf93d18badf962452031d.tar.bz2
llvm-d18e31ae17390d9c6f6cf93d18badf962452031d.tar.xz
Add new function attribute - noredzone.
Update code generator to use this attribute and remove DisableRedZone target option. Update llc to set this attribute when -disable-red-zone command line option is used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r--lib/Target/TargetMachine.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 1b042ddef9..1259dbee6d 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -41,7 +41,6 @@ namespace llvm {
bool RealignStack;
bool DisableJumpTables;
bool StrongPHIElim;
- bool DisableRedZone;
bool AsmVerbosityDefault(false);
}
@@ -163,11 +162,6 @@ EnableStrongPHIElim(cl::Hidden, "strong-phi-elim",
cl::desc("Use strong PHI elimination."),
cl::location(StrongPHIElim),
cl::init(false));
-static cl::opt<bool, true>
-DisableRedZoneOption("disable-red-zone",
- cl::desc("Do not emit code that uses the red zone."),
- cl::location(DisableRedZone),
- cl::init(false));
//---------------------------------------------------------------------------
// TargetMachine Class