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

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Aug 14 08:29:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c2f90f362e401162533ffede924ac3890c70577
      https://github.com/llvm/llvm-project/commit/4c2f90f362e401162533ffede924ac3890c70577
  Author: Christian Ulmann <christianulmann at gmail.com>
  Date:   2024-08-14 (Wed, 14 Aug 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Support/InitFIR.h
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    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 (#103927)

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