[PATCH] D116375: [X86] Use bit test instructions to optimize some logic atomic operations
Phoebe Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 29 07:32:16 PST 2021
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/D116375
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrCompiler.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/test/CodeGen/X86/atomic-bit-test.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116375.396535.patch
Type: text/x-patch
Size: 21361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211229/d5601df5/attachment.bin>
More information about the llvm-commits
mailing list