[all-commits] [llvm/llvm-project] c61d19: [X86] matchIndexRecursively - pull out repeated ge...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Sep 6 08:54:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c61d1984b4acf01b47565aa4f13ed888f2ed4e6e
      https://github.com/llvm/llvm-project/commit/c61d1984b4acf01b47565aa4f13ed888f2ed4e6e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

  Log Message:
  -----------
  [X86] matchIndexRecursively - pull out repeated getOpcode() calls. NFCI.


  Commit: 84447c044f23f16412afae184581413be5e5575f
      https://github.com/llvm/llvm-project/commit/84447c044f23f16412afae184581413be5e5575f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

  Log Message:
  -----------
  [DAG] Add SelectionDAG::isADDLike helper. NFC.

Make the DAGCombine helper global so we can more easily reuse it.


Compare: https://github.com/llvm/llvm-project/compare/24f882287666...84447c044f23


More information about the All-commits mailing list