[all-commits] [llvm/llvm-project] 6fcad9: [DAGCombiner] Simplify foldAndOrOfSETCC. NFC.

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Jul 26 02:23:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fcad9cf9314870397cf007d2f09324917339268
      https://github.com/llvm/llvm-project/commit/6fcad9cf9314870397cf007d2f09324917339268
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

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

  Log Message:
  -----------
  [DAGCombiner] Simplify foldAndOrOfSETCC. NFC.

Pull out repeated hasOneUse checks. Simplify some conditions. Reduce
indentation.

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




More information about the All-commits mailing list