[all-commits] [llvm/llvm-project] 67a932: [mlir][inline] avoid inline self-recursive function

Congcong Cai via All-commits all-commits at lists.llvm.org
Mon Feb 26 00:34:59 PST 2024


  Branch: refs/heads/users/ccc/fix-mlir-inline
  Home:   https://github.com/llvm/llvm-project
  Commit: 67a932e98ed051834f72cbf969d5ae273fc26ff8
      https://github.com/llvm/llvm-project/commit/67a932e98ed051834f72cbf969d5ae273fc26ff8
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M mlir/lib/Transforms/Inliner.cpp
    A mlir/test/Transforms/inlining-recursive-self.mlir

  Log Message:
  -----------
  [mlir][inline] avoid inline self-recursive function

We cannot get any benifit from inlining self-recursive function.
This patch want to detect this cases and ignore it.



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