[all-commits] [llvm/llvm-project] 2bbdce: [GlobalISel] Support physical register inputs in n...

Evgenii Kudriashov via All-commits all-commits at lists.llvm.org
Sat Jan 4 16:10:46 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bbdce9a42f58af4ca917eaba1bf1019ba658fd5
      https://github.com/llvm/llvm-project/commit/2bbdce9a42f58af4ca917eaba1bf1019ba658fd5
  Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
  Date:   2025-01-05 (Sun, 05 Jan 2025)

  Changed paths:
    M llvm/test/TableGen/GlobalISelEmitter/gisel-physreg-input.td
    M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
    M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [GlobalISel] Support physical register inputs in nested patterns (#121239)

When importing nested patterns, we create InsnMatcher for each pattern
and miss them if consider only the top level InsnMatcher. Iterate
PhysRegOperands instead.

Change the type of PhysRegOperands from DenseMap to SmallMapVector to
have stable generation. Also drop PhysRegInputs member from InsnMatcher
as there are no users of it.



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