OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d7e76
)
Temporay hook to enable register scavening for specific targets only.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 23 Feb 2007 01:07:04 +0000
(
01:07
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 23 Feb 2007 01:07:04 +0000
(
01:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34513
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/MRegisterInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/MRegisterInfo.h
b/include/llvm/Target/MRegisterInfo.h
index
b3ec569
..
96bd0e9
100644
(file)
--- a/
include/llvm/Target/MRegisterInfo.h
+++ b/
include/llvm/Target/MRegisterInfo.h
@@
-391,6
+391,12
@@
public:
return false;
}
+ /// requiresRegisterScavenging - returns true if the target requires (and
+ /// can make use of) the register scavenger.
+ virtual bool requiresRegisterScavenging() const {
+ return false;
+ }
+
/// hasFP - Return true if the specified function should have a dedicated frame
/// pointer register. For most targets this is true only if the function has
/// variable sized allocas or if frame pointer elimination is disabled.