[all-commits] [llvm/llvm-project] 081528: [MLIR] Fix autogenerated pass constructors linkage

Michele Scuttari via All-commits all-commits at lists.llvm.org
Mon Aug 29 11:54:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0815281ff286def360589a97611fecab2f64ff3d
      https://github.com/llvm/llvm-project/commit/0815281ff286def360589a97611fecab2f64ff3d
  Author: Michele Scuttari <michele.scuttari at outlook.com>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M mlir/docs/PassManagement.md
    M mlir/tools/mlir-tblgen/PassGen.cpp
    M mlir/unittests/TableGen/PassGenTest.cpp

  Log Message:
  -----------
  [MLIR] Fix autogenerated pass constructors linkage

The patch addresses the linkage of the new autogenerated pass constructors, which, being declared as friend functions, resulted in having an inline nature and thus their implementations not being exported.

Reviewd By: mehdi_amini, rriddle

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




More information about the All-commits mailing list