[all-commits] [llvm/llvm-project] 6cad45: [llvm][Inline] Add a module level inliner

Liqiang TAO via All-commits all-commits at lists.llvm.org
Mon Nov 8 19:07:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cad45d5c6f581e025106b8157541f10370faa08
      https://github.com/llvm/llvm-project/commit/6cad45d5c6f581e025106b8157541f10370faa08
  Author: Liqiang Tao <taolq at outlook.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/include/llvm/Passes/PassBuilder.h
    A llvm/include/llvm/Transforms/IPO/ModuleInliner.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/IPO/CMakeLists.txt
    A llvm/lib/Transforms/IPO/ModuleInliner.cpp
    M llvm/test/Transforms/Inline/callbr.ll
    M llvm/test/Transforms/Inline/casts.ll
    M llvm/test/Transforms/Inline/comdat-ipo.ll
    M llvm/test/Transforms/Inline/crash-lifetime-marker.ll
    M llvm/test/Transforms/Inline/frameescape.ll
    M llvm/test/Transforms/Inline/inline-assume.ll
    M llvm/test/Transforms/Inline/inline-constexpr-addrspacecast-argument.ll
    M llvm/test/Transforms/Inline/inline-fast-math-flags.ll
    M llvm/test/Transforms/Inline/inline-vla.ll
    M llvm/test/Transforms/Inline/invoke-cleanup.ll
    M llvm/test/Transforms/Inline/invoke-combine-clauses.ll
    M llvm/test/Transforms/Inline/invoke_test-1.ll
    M llvm/test/Transforms/Inline/invoke_test-3.ll
    M llvm/test/Transforms/Inline/nested-inline.ll
    M llvm/test/Transforms/Inline/nonnull.ll
    M llvm/test/Transforms/Inline/pr21206.ll

  Log Message:
  -----------
  [llvm][Inline] Add a module level inliner

Add module level inliner, which is a minimum viable product at this point.
Also add some tests for it.

RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-August/152297.html

Reviewed By: kazu

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




More information about the All-commits mailing list