[all-commits] [llvm/llvm-project] 6821a3: [AMDGPU] Add attribute for target loop unroll thre...

Tim Corringham via All-commits all-commits at lists.llvm.org
Thu Nov 21 01:53:30 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6821a3ccd69f2b3a92fe0c4f4276b72389cd4c76
      https://github.com/llvm/llvm-project/commit/6821a3ccd69f2b3a92fe0c4f4276b72389cd4c76
  Author: Tim Corringham <tcorring at amd.com>
  Date:   2019-11-21 (Thu, 21 Nov 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-unroll-threshold.ll

  Log Message:
  -----------
  [AMDGPU] Add attribute for target loop unroll threshold default

Summary:
Add a function attribute to allow the target specific default loop unroll threshold
to be specified on a per-function basis. This allows a front-end to give guidance
where it has insight that is not available to the back-end, while still allowing the
target specific heuristics to also have an effect.

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list