[all-commits] [llvm/llvm-project] 0a59e1: [GlobalIsSel] Allow using PatFrags with multiple d...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Thu Aug 24 00:09:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a59e1a85c3bfd6e9d904899901d48458356cb0c
      https://github.com/llvm/llvm-project/commit/0a59e1a85c3bfd6e9d904899901d48458356cb0c
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M llvm/docs/GlobalISel/MIRPatterns.rst
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/test/TableGen/GlobalISelCombinerMatchTableEmitter/patfrag-errors.td
    M llvm/test/TableGen/GlobalISelCombinerMatchTableEmitter/pattern-errors.td
    M llvm/utils/TableGen/GlobalISelCombinerMatchTableEmitter.cpp

  Log Message:
  -----------
  [GlobalIsSel] Allow using PatFrags with multiple defs as the root of a combine rule

I had to tighten the restrictions on PatFrags a bit to make it consistent: instructions that
define the root of a PF can only have one def.

Reviewed By: arsenm

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




More information about the All-commits mailing list