[PATCH] D48129: [AtomicExpandPass] Widen partword atomicrmw or/xor/and before tryExpandAtomicRMW

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 16 02:15:18 PDT 2018


asb updated this revision to Diff 160980.
asb retitled this revision from "[RISCV] Improved lowering for bit-wise atomicrmw {i8,i16} on RV32A" to "[AtomicExpandPass] Widen partword atomicrmw or/xor/and before tryExpandAtomicRMW".
asb edited the summary of this revision.
asb added a comment.
Herald added a subscriber: fedor.sergeev.

I've updated this patch so it is independent of the RISC-V atomics lowering. I replace the previous logic in performMaskedAtomicOp with a new helper function widenPartwordAtomicRMW, which is called early on. See the updated summary for more details.


https://reviews.llvm.org/D48129

Files:
  lib/CodeGen/AtomicExpandPass.cpp
  test/Transforms/AtomicExpand/SPARC/partword.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48129.160980.patch
Type: text/x-patch
Size: 4524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180816/a0a2a84b/attachment.bin>


More information about the llvm-commits mailing list