[all-commits] [llvm/llvm-project] 1ffd50: [TableGen][GISel] Fix Matcher Creation for C++23 l...

Nikhil Kalra via All-commits all-commits at lists.llvm.org
Wed Jul 15 14:30:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ffd509c4b109fd894f67b2f1d8159d281e0f13a
      https://github.com/llvm/llvm-project/commit/1ffd509c4b109fd894f67b2f1d8159d281e0f13a
  Author: Nikhil Kalra <nikhil.kalra at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.cpp
    M llvm/utils/TableGen/Common/GlobalISel/MatchTable/Matchers.h

  Log Message:
  -----------
  [TableGen][GISel] Fix Matcher Creation for C++23 libc++ (#209783)

libc++ in C++23 mode evaluates make_unique eagerly, which requires
InstructionMatcher to be defined at the constexpr call to make_unique.
Currently, it's defined later in the file.

This patch moves the call to make_unique to the C++ file so that
InstructionMatcher is fully defined at time of instantiation.



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