[all-commits] [llvm/llvm-project] 91105d: [DAG] Peek through zext/trunc when matching (or (a...

deadalnix via All-commits all-commits at lists.llvm.org
Tue Apr 11 06:48:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91105df3dfeb6c5589de987c1c1bdd3d7fe781d8
      https://github.com/llvm/llvm-project/commit/91105df3dfeb6c5589de987c1c1bdd3d7fe781d8
  Author: Amaury Séchet <deadalnix at gmail.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/add-and-not.ll

  Log Message:
  -----------
  [DAG] Peek through zext/trunc when matching (or (and X, (not Y)), Y).

This shows up in the wild, notably as a regression in D127115 .

Depends on D147821

Reviewed By: RKSimon

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




More information about the All-commits mailing list