[PATCH] D156801: [RISCV] Improve codegen for i8/i16 'atomicrmw xchg a, {0,-1}'
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 10:44:10 PDT 2023
asb updated this revision to Diff 546132.
asb retitled this revision from "[RISCV] Improve codegen for i8/i16 'atomicrmw xchg a, 0' " to "[RISCV] Improve codegen for i8/i16 'atomicrmw xchg a, {0,-1}' ".
asb edited the summary of this revision.
asb added a comment.
Update to cover the `atomicrmw xchg a, -1` case as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156801/new/
https://reviews.llvm.org/D156801
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/test/CodeGen/RISCV/atomic-rmw.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156801.546132.patch
Type: text/x-patch
Size: 27908 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230801/955af8f3/attachment.bin>
More information about the llvm-commits
mailing list