[PATCH] D41856: [PowerPC] Zero-extend the compare operand for ATOMIC_CMP_SWAP

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 13:00:41 PST 2018


efriedma added a comment.

With this approach, I'm a little worried it will break in the future.  For stores, DAGCombine calls SimplifyDemandedBits to simplify the input; if someone added the same functionality for atomic operations, it would break this check.


Repository:
  rL LLVM

https://reviews.llvm.org/D41856





More information about the llvm-commits mailing list