commit | 509fe161ac24120bc1b649e67e828698dff385f7 | [log] [tgz] |
---|---|---|
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Fri Jan 12 14:58:41 2018 +0000 |
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Fri Jan 12 14:58:41 2018 +0000 |
tree | dee089353c68a81af87bd81b3fc760b8db0824c6 | |
parent | bef5f248b85fb47702bd94a11276728a4cb4689f [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322372 91177308-0d34-0410-b5e6-96231b3b80d8