[PATCH] D149783: [DAGCombiner] Add bswap(logic_op(bswap(x), y)) optimization

Austin Chang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 3 13:45:17 PDT 2023


austin880625 created this revision.
austin880625 added reviewers: RKSimon, nikic, goldstein.w.n.
Herald added subscribers: StephenFan, ecnelises, pengfei, hiraditya.
Herald added a project: All.
austin880625 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is the implementation of D149782 <https://reviews.llvm.org/D149782>


Repository:
  rG LLVM Github Monorepo

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.519234.patch
Type: text/x-patch
Size: 4161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230503/7efec7e9/attachment.bin>


More information about the llvm-commits mailing list