summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-01-12 14:58:41 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-01-12 14:58:41 +0000
commitebb23078e92c00d3dde9d925df989afdf5f07f76 (patch)
treed3ae96d5054fea4b4fce7c4840551697f84e32b4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentbb2cf63b324846ee74fc785d0f49b8b29e105297 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud