[all-commits] [llvm/llvm-project] a7c574: [MLIR][LLVM] Move the LLVM inliner interface into ...

Johannes de Fine Licht via All-commits all-commits at lists.llvm.org
Thu Mar 23 06:30:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7c574d0c10ff686cf06d50010d759eaa5a4747b
  Author: Johannes de Fine Licht <johannes.definelicht at nextsilicon.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/CMakeLists.txt
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    A mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    A mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.h

  Log Message:
  [MLIR][LLVM] Move the LLVM inliner interface into a separate file.

A fully fledged LLVM inliner will require a lot of logic. Since
`LLVMDialect.cpp` is large enough as it is, preemptively outline the
inlining logic into a separate `.cpp` file. This will also allow us to
add a `DEBUG_TYPE` for debugging the inliner.

The name `LLVMInlining` was chosen over `LLVMInlinerInterface` to keep
the option open for exposing inlining functionality even when not
invoked through the `DialectInlinerInterface`.

Depends on D146616

Reviewed By: gysit

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

More information about the All-commits mailing list