diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-04-23 18:18:10 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-04-23 18:18:10 +0000 |
commit | 45709ae09b252a18efd342bbd56574a12437c81c (patch) | |
tree | 68050361025d83a89677301ad3409276b33c74dd /include | |
parent | cfcd20e7bece78e79e4509abcdc312aa0b1b6e15 (diff) | |
download | llvm-45709ae09b252a18efd342bbd56574a12437c81c.tar.gz llvm-45709ae09b252a18efd342bbd56574a12437c81c.tar.bz2 llvm-45709ae09b252a18efd342bbd56574a12437c81c.tar.xz |
Make stack alignment options global for all targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetOptions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index 890263f043..ac3a6081ed 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -86,6 +86,13 @@ namespace llvm { /// OptimizeForSize - When this flag is set, the code generator avoids /// optimizations that increase size. extern bool OptimizeForSize; + + /// StackAlignment - Override default stack alignment for target. + extern unsigned StackAlignment; + + /// RealignStack - This flag indicates, whether stack should be automatically + /// realigned, if needed. + extern bool RealignStack; } // End llvm namespace #endif |