[all-commits] [llvm/llvm-project] 1a6a84: [DAG] Move select(cc, binop(), binop()) folds into...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jul 18 06:57:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a6a8443c2263fdd3f5efecd535f2f85fc432aee
      https://github.com/llvm/llvm-project/commit/1a6a8443c2263fdd3f5efecd535f2f85fc432aee
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-18 (Sun, 18 Jul 2021)

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

  Log Message:
  -----------
  [DAG] Move select(cc, binop(), binop()) folds into DAGCombiner::foldSelectOfBinops. NFCI.

I'm going to extend the functionality started in D106058 so move the folds into their own method to reduce the amount of code in DAGCombiner::visitSELECT




More information about the All-commits mailing list