[all-commits] [llvm/llvm-project] 792080: [DAG] Use recursivelyDeleteUnusedNodes in ReplaceL...

deadalnix via All-commits all-commits at lists.llvm.org
Thu Jul 28 05:32:50 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7920805b27fd193293aa9f174983ef50758b2929
  Author: Amaury S├ęchet <deadalnix at gmail.com>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  [DAG] Use recursivelyDeleteUnusedNodes in ReplaceLoadWithPromotedLoad

It simplifies the code overall and removes the need for manual bookkeeping.

Reviewed By: RKSimon

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

More information about the All-commits mailing list