[all-commits] [llvm/llvm-project] b70c48: [AMDGPU] Exclude always_inline from max bb threshold

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Mar 3 10:22:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b70c483e0416d594116e3ca757ff1ed87fa8de37
      https://github.com/llvm/llvm-project/commit/b70c483e0416d594116e3ca757ff1ed87fa8de37
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Exclude always_inline from max bb threshold

Honor always_inline attribute when processing -amdgpu-inline-max-bb.
It was lost during the ports of the heuristic. There is no reason
to honor inline hint, but not always inline.

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




More information about the All-commits mailing list