[all-commits] [llvm/llvm-project] 6c951c: [SelectionDAG][DAGCombiner] Reuse exist node by re...

chenglin.bi via All-commits all-commits at lists.llvm.org
Mon Jun 20 18:45:32 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c951c5ee6d0b848877cb8ac7a9cb2a9ef9ebbb5
  Author: chenglin.bi <chenglin.bi at cixcomputing.com>
  Date:   2022-06-21 (Tue, 21 Jun 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/xor3-i1-const.ll
    M llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
    M llvm/test/CodeGen/X86/ctpop-combine.ll

  Log Message:
  [SelectionDAG][DAGCombiner] Reuse exist node by reassociate

When already have (op N0, N2), reassociate (op (op N0, N1), N2) to (op (op N0, N2), N1) to reuse the exist (op N0, N2)

Reviewed By: RKSimon

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

More information about the All-commits mailing list