[PATCH] Stop resetting DisableTailCalls in TargetMachine::resetTargetOptions
ahatanak at gmail.com
Thu May 28 12:11:12 PDT 2015
Hi echristo, dexonsmith,
This patch makes changes in TargetMachine::resetTargetOptions to stop setting DisableTallCalls based on function attribute "disable-tail-calls". DisableTailCalls is the last non-fast-math option that is set in resetTargetOptions, so we should be able to remove this function entirely after the work to propagate IR-level fast-math flags to DAG nodes is completed.
Also, this patch enables cl:opt option "disable-tail-calls" to override function attribute "disable-tail-calls".
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8497 bytes
Desc: not available
More information about the llvm-commits