[PATCH] D120199: [X86] Use bit test instructions to optimize some logic atomic operations
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 19 18:05:03 PST 2022
pengfei created this revision.
pengfei added reviewers: LuoYuanke, RKSimon, craig.topper, spatel.
Herald added a subscriber: hiraditya.
pengfei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is to match GCC's optimizations: https://gcc.godbolt.org/z/3odh9e7WE
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120199
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/lib/CodeGen/AtomicExpandPass.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrCompiler.td
llvm/lib/Target/X86/X86IntrinsicsInfo.h
llvm/test/CodeGen/X86/atomic-bit-test.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120199.410121.patch
Type: text/x-patch
Size: 35617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220220/3c6106fc/attachment.bin>
More information about the llvm-commits
mailing list