commit | f937aee1784500909099bbc5e81b467e43504558 | [log] [tgz] |
---|---|---|
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | Fri Jan 19 20:47:14 2018 +0000 |
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | Fri Jan 19 20:47:14 2018 +0000 |
tree | 08a8c893efd08c5c57f8398be135b88e169d3104 | |
parent | a565e7db88d8c9df7f9347ae284fb6caaba50f5e [diff] |
[SelectionDAG] Teach computeKnownBits about ATOMIC_CMP_SWAP_WITH_SUCCESS boolean return value The second return value of ATOMIC_CMP_SWAP_WITH_SUCCESS is known to be a boolean, and should therefore be treated by computeKnownBits just like the second return values of SMULO / UMULO. Differential Revision: https://reviews.llvm.org/D42067 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322985 91177308-0d34-0410-b5e6-96231b3b80d8