summaryrefslogtreecommitdiff
path: root/lib/CodeGen/PrologEpilogInserter.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2009-10-07 22:26:31 +0000
committerJim Grosbach <grosbach@apple.com>2009-10-07 22:26:31 +0000
commitbafa3d9f6aaf24d721476ded7b1211ad57dd46c3 (patch)
tree28204a5d482beba15180fc175acbd58951f65087 /lib/CodeGen/PrologEpilogInserter.h
parentec1434dd8970f9bcd410ef6ffaa2d440995cb18b (diff)
downloadllvm-bafa3d9f6aaf24d721476ded7b1211ad57dd46c3.tar.gz
llvm-bafa3d9f6aaf24d721476ded7b1211ad57dd46c3.tar.bz2
llvm-bafa3d9f6aaf24d721476ded7b1211ad57dd46c3.tar.xz
Enable thumb1 register scavenging by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.h')
-rw-r--r--lib/CodeGen/PrologEpilogInserter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.h b/lib/CodeGen/PrologEpilogInserter.h
index ee759e8622..030922a026 100644
--- a/lib/CodeGen/PrologEpilogInserter.h
+++ b/lib/CodeGen/PrologEpilogInserter.h
@@ -95,6 +95,11 @@ namespace llvm {
// functions.
bool ShrinkWrapThisFunction;
+ // Flag to control whether to use the register scavenger to resolve
+ // frame index materialization registers. Set according to
+ // TRI->requiresFrameIndexScavenging() for the curren function.
+ bool FrameIndexVirtualScavenging;
+
// When using the scavenger post-pass to resolve frame reference
// materialization registers, maintain a map of the registers to
// the constant value and SP adjustment associated with it.