[PATCH] D140939: [X86] Transform AtomicRMW logic operations to BT{R|C|S} if only changing/testing a single bit.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 09:30:55 PST 2023


goldstein.w.n updated this revision to Diff 486607.
goldstein.w.n marked 6 inline comments as done.
goldstein.w.n added a comment.

Use match instead of hand written logic.
Fix some typos.
Fix some code style nits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140939

Files:
  llvm/include/llvm/IR/IntrinsicsX86.td
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/lib/Target/X86/X86InstrCompiler.td
  llvm/test/CodeGen/X86/atomic-rm-bit-test-64.ll
  llvm/test/CodeGen/X86/atomic-rm-bit-test.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140939.486607.patch
Type: text/x-patch
Size: 85343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230105/a773b55b/attachment.bin>


More information about the llvm-commits mailing list