[all-commits] [llvm/llvm-project] 4a92c2: [TableGen][GISel] Remove check for LLT when emitti...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Thu Dec 26 06:45:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a92c27f9d29d065156647f9bcc44a8418c98efa
      https://github.com/llvm/llvm-project/commit/4a92c27f9d29d065156647f9bcc44a8418c98efa
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-12-26 (Thu, 26 Dec 2024)

  Changed paths:
    M llvm/test/TableGen/GlobalISelEmitter/OverloadedPtr.td
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [TableGen][GISel] Remove check for LLT when emitting renderers (#121144)

Types used in the destination DAG of a pattern should not matter for
GlobalISel. All necessary checks are emitted in the form of matchers
when traversing the source DAG.

In particular, the check prevented importing patterns containing iPTR in
the middle of the destination DAG.

This reduces the number of skipped patterns on Mips and RISCV:
```
Mips   1270  -> 1212  (-58)
RISCV 42165 -> 42088  (-77)
```

Most of these patterns are for atomic operations.



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