[all-commits] [llvm/llvm-project] 880de1: [mlir] Declare explicit typeid to fix dylib build ...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri May 2 16:48:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 880de1cae2e50e28984e56f97689e39bd60e12a3
      https://github.com/llvm/llvm-project/commit/880de1cae2e50e28984e56f97689e39bd60e12a3
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M mlir/include/mlir/Pass/Pass.h
    M mlir/lib/Pass/Pass.cpp

  Log Message:
  -----------
  [mlir] Declare explicit typeid to fix dylib build (#138357)

This makes the dyn_cast<PassExecutionAction> work outside the dylib,
i.e. from the unit test binary, when the CMake setting
MLIR_LINK_MLIR_DYLIB is ON.

Fixes #138202



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