[PATCH] D129695: [ARM] Fix Thumb2 compare being emitted ExpandCMP_SWAP

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 00:30:50 PDT 2022


dmgreen updated this revision to Diff 445402.
dmgreen added a comment.

This now adds a tCMP_SWAP_32 and uses tGPR for the tmp reg. The 64bit version was changes to an assert.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129695/new/

https://reviews.llvm.org/D129695

Files:
  llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
  llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
  llvm/lib/Target/ARM/ARMInstrThumb.td
  llvm/test/CodeGen/ARM/atomicrmw_exclusive_monitor_ints.ll
  llvm/test/CodeGen/ARM/cmpxchg.mir
  llvm/test/CodeGen/Thumb2/cmpxchg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129695.445402.patch
Type: text/x-patch
Size: 24670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220718/723d8c5f/attachment.bin>


More information about the llvm-commits mailing list