[all-commits] [llvm/llvm-project] d14ee7: [GISel][TableGen] Enhance default ops support (#75...

darkbuck via All-commits all-commits at lists.llvm.org
Sun Dec 17 12:02:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d14ee76181fba376a04cb50afd9ab30cc406ee90
      https://github.com/llvm/llvm-project/commit/d14ee76181fba376a04cb50afd9ab30cc406ee90
  Author: darkbuck <michael.hliao at gmail.com>
  Date:   2023-12-17 (Sun, 17 Dec 2023)

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

  Log Message:
  -----------
  [GISel][TableGen] Enhance default ops support (#75689)

- Instead of checking the default ops directly, this change queries DAG
default operands collected during patterns reading. It does not only
simplify the code but also handle few cases where integer values are
converted from convertible types, such as 'bits'.
- A test case is added GlobalISelEmitter.td as the regression test of
default 'bits' values.




More information about the All-commits mailing list