[all-commits] [llvm/llvm-project] 649735: [MLIR][LLVM] Turn the inliner interface into a pro...

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Aug 14 06:14:21 PDT 2024


  Branch: refs/heads/users/dinistro/llvm-inlining-interface-move
  Home:   https://github.com/llvm/llvm-project
  Commit: 64973598a225aba29c8b6efd4926e8c76a9787a4
      https://github.com/llvm/llvm-project/commit/64973598a225aba29c8b6efd4926e8c76a9787a4
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Support/InitFIR.h
    A mlir/include/mlir/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.h
    M mlir/include/mlir/InitAllDialects.h
    M mlir/lib/Dialect/LLVMIR/CMakeLists.txt
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    R mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    R mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.h
    M mlir/lib/Dialect/LLVMIR/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp

  Log Message:
  -----------
  [MLIR][LLVM] Turn the inliner interface into a promised interface

This commit changes the LLVM dialect's inliner interface to no longer be
registered at dialect initialization. Instead, it is now a promised
interface, that needs to be registered explicitly.
This change is desired to avoid pulling in a lot of dependencies into
the `MLIRLLVMDialect` library, especially considering future patches
that plan to extend it further with strong IR analysis.



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