[all-commits] [llvm/llvm-project] 31db7a: [TableGen] Split DAGISelMatcherOpt FactorNodes int...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Feb 2 19:05:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31db7afacf4dae051fcd0da22e440813663b61f3
      https://github.com/llvm/llvm-project/commit/31db7afacf4dae051fcd0da22e440813663b61f3
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-02 (Sun, 02 Feb 2025)

  Changed paths:
    M llvm/utils/TableGen/DAGISelMatcherOpt.cpp

  Log Message:
  -----------
  [TableGen] Split DAGISelMatcherOpt FactorNodes into 2 functions. NFC (#125330)

The loop at the top of FactorNodes creates additional variables to deal
with needing to use a pointer to a unique_ptr instead of a reference.
Encapsulate this to its own function for better scoping.

This also allows us to directly skip this loop when we already know we
have a ScopeMatcher.



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