diff options
| author | Dan Gohman <gohman@apple.com> | 2010-02-08 20:27:50 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-02-08 20:27:50 +0000 |
| commit | ea8579c24ae460d02f345ad4ef41734e6e108e26 (patch) | |
| tree | 8692733d172d88c97ca7b658d0986ecafcbc86b6 /include/llvm/Target/TargetOptions.h | |
| parent | 714b9c72ac64734e04efa36fa4913265c64decbb (diff) | |
| download | external_llvm-ea8579c24ae460d02f345ad4ef41734e6e108e26.zip external_llvm-ea8579c24ae460d02f345ad4ef41734e6e108e26.tar.gz external_llvm-ea8579c24ae460d02f345ad4ef41734e6e108e26.tar.bz2 | |
Rename the PerformTailCallOpt variable to GuaranteedTailCallOpt to reflect
its current purpose.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetOptions.h')
| -rw-r--r-- | include/llvm/Target/TargetOptions.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index b43450d..b63c2bf 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -116,10 +116,13 @@ namespace llvm { /// be emitted for all functions. extern bool UnwindTablesMandatory; - /// PerformTailCallOpt - This flag is enabled when -tailcallopt is specified - /// on the commandline. When the flag is on, the target will perform tail call - /// optimization (pop the caller's stack) providing it supports it. - extern bool PerformTailCallOpt; + /// GuaranteedTailCallOpt - This flag is enabled when -tailcallopt is + /// specified on the commandline. When the flag is on, participating targets + /// will perform tail call optimization on all calls which use the fastcc + /// calling convention and which satisfy certain target-independent + /// criteria (being at the end of a function, having the same return type + /// as their parent function, etc.), using an alternate ABI if necessary. + extern bool GuaranteedTailCallOpt; /// StackAlignment - Override default stack alignment for target. extern unsigned StackAlignment; |
