[all-commits] [llvm/llvm-project] c3ee52: [TableGen][GlobalISel] Support EXTRACT_SUBREGs for...

Ivan Kosarev via All-commits all-commits at lists.llvm.org
Mon Mar 27 04:10:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3ee525e0295e8dbea70613e409b6a6ff14981f0
      https://github.com/llvm/llvm-project/commit/c3ee525e0295e8dbea70613e409b6a6ff14981f0
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h
    M llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
    M llvm/test/TableGen/GlobalISelEmitterSubreg.td
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [TableGen][GlobalISel] Support EXTRACT_SUBREGs for ComplexPattern suboperands.

This makes it possible to write GlobalISel patterns generating
EXTRACT_SUBREG instructions applied to suboperands of ComplexPattern
operands. Currently, TableGen complains that such operands are not
declared in matcher.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D146800




More information about the All-commits mailing list