[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 16:29:05 PST 2018


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

Legalize by producing PPC-specific atomic compare and swap ISD nodes.

Please note that this fix now no longer completely fixes the listed PR. It requires https://reviews.llvm.org/D41798 to land in order to completely fix that bug.


Repository:
  rL LLVM

https://reviews.llvm.org/D41856

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41856.129368.patch
Type: text/x-patch
Size: 19902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180111/04b47539/attachment.bin>


More information about the llvm-commits mailing list