summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-18 01:05:15 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-18 01:05:15 +0000
commitbf1d0f417eebbd25b85b4dac2e7d7a4cc7f45b7b (patch)
treefcba3458ee8a2e44ab498ce9690ab01fbc0d5fe2 /include
parentcfe02c46dc7b97adb3c76ce46bc24aff3266df34 (diff)
downloadllvm-bf1d0f417eebbd25b85b4dac2e7d7a4cc7f45b7b.tar.gz
llvm-bf1d0f417eebbd25b85b4dac2e7d7a4cc7f45b7b.tar.bz2
llvm-bf1d0f417eebbd25b85b4dac2e7d7a4cc7f45b7b.tar.xz
PMBuilder: Expose an option to disable tail calls
Adds API to allow frontends to disable tail calls in PassManagerBuilder. <rdar://problem/16050591> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/PassManagerBuilder.h b/include/llvm/Transforms/IPO/PassManagerBuilder.h
index 42b6b27d0c..bfd58f1175 100644
--- a/include/llvm/Transforms/IPO/PassManagerBuilder.h
+++ b/include/llvm/Transforms/IPO/PassManagerBuilder.h
@@ -106,6 +106,7 @@ public:
/// added to the per-module passes.
Pass *Inliner;
+ bool DisableTailCalls;
bool DisableUnitAtATime;
bool DisableUnrollLoops;
bool BBVectorize;