mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00:00
Temporay hook to enable register scavening for specific targets only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
76d7e76c15
commit
5b7d5964c2
@ -391,6 +391,12 @@ public:
|
|||||||
return false;
|
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
|
/// 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
|
/// pointer register. For most targets this is true only if the function has
|
||||||
/// variable sized allocas or if frame pointer elimination is disabled.
|
/// variable sized allocas or if frame pointer elimination is disabled.
|
||||||
|
Loading…
Reference in New Issue
Block a user