[PATCH] D138401: [DAGCombiner] fold or (xor x, y),? patterns

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 20 22:47:02 PST 2022


bcl5980 created this revision.
bcl5980 added reviewers: RKSimon, craig.topper.
Herald added subscribers: kosarev, StephenFan, ecnelises, kerbowa, pengfei, hiraditya, jvesely.
Herald added a project: All.
bcl5980 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

or (xor x, y), x --> or x, y
or (xor x, y), y --> or x, y
or (xor x, y), (and x, y) --> or x, y
or (xor x, y), (or x, y) --> or x, y


https://reviews.llvm.org/D138401

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AMDGPU/xor3-i1-const.ll
  llvm/test/CodeGen/X86/avx512-mask-op.ll
  llvm/test/CodeGen/X86/avx512bw-mask-op.ll
  llvm/test/CodeGen/X86/avx512dq-mask-op.ll
  llvm/test/CodeGen/X86/combine-sra-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138401.476807.patch
Type: text/x-patch
Size: 8436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221121/5c678508/attachment.bin>


More information about the llvm-commits mailing list