[all-commits] [llvm/llvm-project] 2570f2: [SDAG] Remove single-result restriction on commuta...

Itay Bookstein via All-commits all-commits at lists.llvm.org
Mon Jul 18 09:19:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2570f226d1547d1937b4acb8f070736399de5132
      https://github.com/llvm/llvm-project/commit/2570f226d1547d1937b4acb8f070736399de5132
  Author: Itay Bookstein <ibookstein at gmail.com>
  Date:   2022-07-18 (Mon, 18 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/dagcombine-cse.ll
    M llvm/test/CodeGen/X86/smul-with-overflow.ll
    M llvm/test/CodeGen/X86/smulo-128-legalisation-lowering.ll

  Log Message:
  -----------
  [SDAG] Remove single-result restriction on commutative CSE

The DAG Combiner unnecessarily restricts commutative CSE
to nodes with a single result value. This commit removes
that restriction.

Signed-off-by: Itay Bookstein <ibookstein at gmail.com>

Reviewed By: RKSimon

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




More information about the All-commits mailing list