[all-commits] [llvm/llvm-project] 67a58f: [FuncSpec] Don't run the solver if there's nothing...

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Wed Oct 13 11:07:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67a58fa3a687ec7463511f8e447e9ae8a26037fc
      https://github.com/llvm/llvm-project/commit/67a58fa3a687ec7463511f8e447e9ae8a26037fc
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
    A llvm/test/Transforms/FunctionSpecialization/function-specialization-nothing-todo.ll

  Log Message:
  -----------
  [FuncSpec] Don't run the solver if there's nothing to do

Even if there are no interesting functions, the SCCP solver would still run
before bailing. Now bail earlier, avoid running the solver for nothing.

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




More information about the All-commits mailing list