[all-commits] [llvm/llvm-project] e17f07: [SelectionDAG] Reduce code duplication between get...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Apr 27 22:33:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e17f07c4debbe76f5ebcdeeda619e7438700e2ad
      https://github.com/llvm/llvm-project/commit/e17f07c4debbe76f5ebcdeeda619e7438700e2ad
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-04-27 (Sun, 27 Apr 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Reduce code duplication between getStore, getTruncStore, and getIndexedStore. (#137435)

Create an extra overload of getStore that can handle of the 3 types of
stores. This is similar to how getLoad/getExtLoad/getIndexLoad is
structure.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list