diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-01-12 14:58:41 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-01-12 14:58:41 +0000 |
commit | ebb23078e92c00d3dde9d925df989afdf5f07f76 (patch) | |
tree | d3ae96d5054fea4b4fce7c4840551697f84e32b4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | bb2cf63b324846ee74fc785d0f49b8b29e105297 (diff) | |
download | bcm5719-llvm-ebb23078e92c00d3dde9d925df989afdf5f07f76.tar.gz bcm5719-llvm-ebb23078e92c00d3dde9d925df989afdf5f07f76.zip |
[PowerPC] Zero-extend the compare operand for ATOMIC_CMP_SWAP
Part of the fix for https://bugs.llvm.org/show_bug.cgi?id=35812.
This patch ensures that the compare operand for the atomic compare and swap
is properly zero-extended to 32 bits if applicable.
A follow-up commit will fix the extension for the SETCC node generated when
expanding an ATOMIC_CMP_SWAP_WITH_SUCCESS. That will complete the bug fix.
Differential Revision: https://reviews.llvm.org/D41856
llvm-svn: 322372
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions