commit | c505b213ee3b25633481a7e20242f4fd767aa152 | [log] [tgz] |
---|---|---|
author | Eli Friedman <efriedma@codeaurora.org> | Wed Jan 17 22:04:36 2018 +0000 |
committer | Eli Friedman <efriedma@codeaurora.org> | Wed Jan 17 22:04:36 2018 +0000 |
tree | f60198dfdd620d1fdec63a7881b53a5afbfa7743 | |
parent | 5e26fb04486b4960d4874608658c0b832989d29c [diff] |
[LegalizeDAG] Fix ATOMIC_CMP_SWAP_WITH_SUCCESS legalization. The code wasn't zero-extending correctly, so the comparison could spuriously fail. Adds some AArch64 tests to cover this case. Inspired by D41791. Differential Revision: https://reviews.llvm.org/D41798 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322767 91177308-0d34-0410-b5e6-96231b3b80d8