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
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