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

chenglin.bi via All-commits all-commits at lists.llvm.org
Fri Jun 24 08:15:22 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c7420564264af5913fa8e699e2795d0f2cd48ac
  Author: chenglin.bi <chenglin.bi at cixcomputing.com>
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AMDGPU/xor3-i1-const.ll
    A llvm/test/CodeGen/WebAssembly/xor_reassociate.ll
    M llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
    M llvm/test/CodeGen/X86/ctpop-combine.ll
    A llvm/test/CodeGen/X86/pr56170.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