diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2016-04-28 16:26:43 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2016-04-28 16:26:43 +0000 |
commit | a2d8cc3db90ab5694b5bb3b94a978772531f921e (patch) | |
tree | 3a2b4666c0467150a98a2b8c100813fc022825ef /clang/lib/CodeGen/CodeGenModule.h | |
parent | 0e610340181cef1d88a15c850406993e915501f8 (diff) | |
download | bcm5719-llvm-a2d8cc3db90ab5694b5bb3b94a978772531f921e.tar.gz bcm5719-llvm-a2d8cc3db90ab5694b5bb3b94a978772531f921e.zip |
[mips][atomics] Fix partword atomic binary operation implementation
Currently Mips::emitAtomicBinaryPartword() does not properly respect the
width of pointers. For MIPS64 this causes the memory address that the ll/sc
sequence uses to be truncated. At runtime this causes a segmentation fault.
This can be fixed by applying similar changes as r266204, so that a full 64bit
pointer is loaded.
Reviewers: dsanders
Differential Review: http://reviews.llvm.org/D19651
llvm-svn: 267900
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions