[all-commits] [llvm/llvm-project] cdb7b8: [DAGCombiner] fold or (xor x, y), ? patterns

chenglin.bi via All-commits all-commits at lists.llvm.org
Tue Nov 22 17:28:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdb7b804f665f4d250f6bad3941bcea68024e0a7
      https://github.com/llvm/llvm-project/commit/cdb7b804f665f4d250f6bad3941bcea68024e0a7
  Author: chenglin.bi <chenglin.bi at linaro.org>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

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

  Log Message:
  -----------
  [DAGCombiner] fold or (xor x, y),? patterns

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

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D138401




More information about the All-commits mailing list