summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSymbol.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-06-09 19:07:19 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-06-09 19:07:19 +0000
commitd9699bc7bdf0362173fcd256690f61a4d47429c2 (patch)
treef9555b146c11d3a8b5195363de6ddef75d5e49fe /llvm/lib/MC/MCSymbol.cpp
parent262a4c4ec02fdd62eeb2e1def510074068c33509 (diff)
downloadbcm5719-llvm-d9699bc7bdf0362173fcd256690f61a4d47429c2.tar.gz
bcm5719-llvm-d9699bc7bdf0362173fcd256690f61a4d47429c2.zip
Remove DisableTailCalls from TargetOptions and the code in resetTargetOptions
that was resetting it. Remove the uses of DisableTailCalls in subclasses of TargetLowering and use the value of function attribute "disable-tail-calls" instead. Also, unconditionally add pass TailCallElim to the pipeline and check the function attribute at the start of runOnFunction to disable the pass on a per-function basis. This is part of the work to remove TargetMachine::resetTargetOptions, and since DisableTailCalls was the last non-fast-math option that was being reset in that function, we should be able to remove the function entirely after the work to propagate IR-level fast-math flags to DAG nodes is completed. Out-of-tree users should remove the uses of DisableTailCalls and make changes to attach attribute "disable-tail-calls"="true" or "false" to the functions in the IR. rdar://problem/13752163 Differential Revision: http://reviews.llvm.org/D10099 llvm-svn: 239427
Diffstat (limited to 'llvm/lib/MC/MCSymbol.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud