[all-commits] [llvm/llvm-project] ff6097: [GlobalISel] Prevent hoisting of CheckIsSameOperan...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Apr 8 05:04:35 PDT 2026


  Branch: refs/heads/users/pierre-vh/fix-188513
  Home:   https://github.com/llvm/llvm-project
  Commit: ff6097b9e526dbf3f973ca298863b0b631b28a7f
      https://github.com/llvm/llvm-project/commit/ff6097b9e526dbf3f973ca298863b0b631b28a7f
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    A llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-hoisting.td
    M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
    M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h

  Log Message:
  -----------
  [GlobalISel] Prevent hoisting of CheckIsSameOperand from creating invalid match tables

Fixes #188513

This patch adds logic to ask PredicateMatchers whether they'd like to be hoisted out of a specific Matcher or not.
SameOperandMatcher can use it to check if it's being hoisted out of the RuleMatcher that defines the operand it relies on.

Assisted-By: Claude Opus 4.6
Context of Use: Claude was only used to add LLVM-style RTTI to the matcher class (repetitive work). Claude-generated code was reviewed and cleaned up before committing.



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