PMBuilder: Expose an option to disable tail calls
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 01:05:15 +0000 (01:05 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 01:05:15 +0000 (01:05 +0000)
commitbf1d0f417eebbd25b85b4dac2e7d7a4cc7f45b7b
treefcba3458ee8a2e44ab498ce9690ab01fbc0d5fe2
parentcfe02c46dc7b97adb3c76ce46bc24aff3266df34
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
include/llvm/Transforms/IPO/PassManagerBuilder.h
lib/Transforms/IPO/PassManagerBuilder.cpp