[all-commits] [llvm/llvm-project] c47739: [FuncSpec] Consider small noinline functions for s...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Tue Oct 25 11:50:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c47739b45cad6f075cf4c42420c2c47034ff75d4
      https://github.com/llvm/llvm-project/commit/c47739b45cad6f075cf4c42420c2c47034ff75d4
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/noinline.ll

  Log Message:
  -----------
  [FuncSpec] Consider small noinline functions for specialisation

Small functions with size under a given threshold are not
considered for specialisaion on the presumption that they
are easy to inline. This does not apply to `noinline`
functions, though.

Reviewed By: ChuanqiXu

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




More information about the All-commits mailing list