summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-10-13 00:28:47 +0000
committerJF Bastien <jfb@google.com>2015-10-13 00:28:47 +0000
commit986ed68eedae4e5ea150184fc9288b9b85862ef6 (patch)
treebff29feac8cbcb9fc93cbcc076bb057885af4172 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parentf983f7f6270275543ce0f873b65ce5838c40da1b (diff)
downloadbcm5719-llvm-986ed68eedae4e5ea150184fc9288b9b85862ef6.tar.gz
bcm5719-llvm-986ed68eedae4e5ea150184fc9288b9b85862ef6.zip
x86: preserve flags when folding atomic operations
Summary: D4796 taught LLVM to fold some atomic integer operations into a single instruction. The pattern was unaware that the instructions clobbered flags. This patch adds the missing EFLAGS definition. Floating point operations don't set flags, the subsequent fadd optimization is therefore correct. The same applies for surrounding load/store optimizations. Reviewers: rsmith, rtrieu Subscribers: llvm-commits, reames, morisset Differential Revision: http://reviews.llvm.org/D13680 llvm-svn: 250135
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud