summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2016-01-13 06:02:45 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2016-01-13 06:02:45 +0000
commitb45b1ea86f8f93b206af878194239a243dff3e21 (patch)
tree7d98044019db961ef7c35c82bf69d7f48804a029 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parente9a1c31ebf8d33ac378bb37fe3d3bc0b2051b173 (diff)
[Inliner] Merge the attributes of the caller and callee functions
This patch turns off the fast-math optimization attribute on the caller if the callee's fast-math attribute is not turned on. For example, - before inlining caller: "less-precise-fpmad"="true" callee: "less-precise-fpmad"="false" - after inlining caller: "less-precise-fpmad"="false" Alternatively, it's possible to block inlining if the caller's and callee's attributes don't match. If this approach is preferable to the one in this patch, we can discuss post-commit. rdar://problem/19836465 Differential Revision: http://reviews.llvm.org/D7802 llvm-svn: 257575
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions