[PATCH] D149783: [DAGCombiner] Add bswap(logic_op(bswap(x), y)) optimization
Austin Chang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 4 12:56:29 PDT 2023
austin880625 updated this revision to Diff 519617.
austin880625 edited the summary of this revision.
austin880625 added a comment.
Herald added a subscriber: steven.zhang.
Add implementation of bswap(logic_op(bswap(x), bswap(y))) -> logic_op(x, y) fold
Update some comments that are not aligned with code
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149783/new/
https://reviews.llvm.org/D149783
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/combine-bswap.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149783.519617.patch
Type: text/x-patch
Size: 5530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230504/465125e0/attachment.bin>
More information about the llvm-commits
mailing list