[all-commits] [llvm/llvm-project] f11d8c: [FuncSpec][NFC] Improve the unittest coverage.

Alexandros Lamprineas via All-commits all-commits at lists.llvm.org
Mon Jun 19 01:47:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f11d8c88dde9720e47aae92d7611d5b98ce30d79
      https://github.com/llvm/llvm-project/commit/f11d8c88dde9720e47aae92d7611d5b98ce30d79
  Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
  Date:   2023-06-19 (Mon, 19 Jun 2023)

  Changed paths:
    M llvm/unittests/Transforms/IPO/FunctionSpecializationTest.cpp

  Log Message:
  -----------
  [FuncSpec][NFC] Improve the unittest coverage.

The specialization bonus is zero in some unittests because the basic blocks
containing the users of the constant arguments are executed less frequently
than the entry block. Sinking them into loops solves that.

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




More information about the All-commits mailing list