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

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 09:01:56 PST 2018


nemanjai updated this revision to Diff 129279.
nemanjai added a comment.

Updated to use `MaskedValueIsZero()` instead of a custom function. Thanks for the suggestion Eli.


Repository:
  rL LLVM

https://reviews.llvm.org/D41856

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  test/CodeGen/PowerPC/PR35812-neg-cmpxchg.ll
  test/CodeGen/PowerPC/atomics-regression.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41856.129279.patch
Type: text/x-patch
Size: 17606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180110/9f043723/attachment.bin>


More information about the llvm-commits mailing list