diff options
author | Richard Diamond <wichard@vitalitystudios.com> | 2015-08-06 16:55:03 +0000 |
---|---|---|
committer | Richard Diamond <wichard@vitalitystudios.com> | 2015-08-06 16:55:03 +0000 |
commit | bd753c93157a40a4d99327d544f382dd1828f492 (patch) | |
tree | d0889461d414d046264c0d7496212c123674a8dc /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | 10fd03857fe80159c9a82802b17df693b2ea7fe0 (diff) | |
download | bcm5719-llvm-bd753c93157a40a4d99327d544f382dd1828f492.tar.gz bcm5719-llvm-bd753c93157a40a4d99327d544f382dd1828f492.zip |
Fix an alignment error in `llvm::expandAtomicRMWToCmpXchg` without breaking the build where X86 isn't enabled.
Summary: Divide the primitive size in bits by eight so the initial load's alignment is in bytes as expected. Tested with the included unit test.
Reviewers: rengolin, jfb
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11804
llvm-svn: 244229
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
0 files changed, 0 insertions, 0 deletions