aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2022-01-19 23:30:54 +0100
committerAyke van Laethem <aykevanlaethem@gmail.com>2022-02-02 09:10:39 +0100
commit316664783df8061b39febeef4c800c85f735eef1 (patch)
treea25ca2186072659b02bf22c227a096bbadf007ec /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parenta2601c98873376bbbeff4b6eddf0f4d920535f8b (diff)
downloadllvm-316664783df8061b39febeef4c800c85f735eef1.zip
llvm-316664783df8061b39febeef4c800c85f735eef1.tar.gz
llvm-316664783df8061b39febeef4c800c85f735eef1.tar.bz2
[AVR] Fix atomicrmw result value
This patch fixes the atomicrmw result value to be the value before the operation instead of the value after the operation. This was a bug, left as a FIXME in the code (see https://reviews.llvm.org/D97127). From the LangRef: > The contents of memory at the location specified by the <pointer> > operand are atomically read, modified, and written back. The original > value at the location is returned. Doing this expansion early allows the register allocator to arrange registers in such a way that commutable operations are simply swapped around as needed, which results in shorter code while still being correct. Differential Revision: https://reviews.llvm.org/D117725
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions