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 | 1797ed50f488f2030f9f9a0ac7426262abf5220a (patch) | |
tree | 8692733d172d88c97ca7b658d0986ecafcbc86b6 /include | |
parent | 7edd8e38c4ad710cd5158de2ffa8eb92b4527375 (diff) | |
download | external_llvm-1797ed50f488f2030f9f9a0ac7426262abf5220a.zip external_llvm-1797ed50f488f2030f9f9a0ac7426262abf5220a.tar.gz external_llvm-1797ed50f488f2030f9f9a0ac7426262abf5220a.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')
-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; |