[all-commits] [llvm/llvm-project] 54e2dc: [AMDGPU] Limit promote alloca to vector with VGPR ...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Jul 1 15:57:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 54e2dc7537dd62a70d76883197e3007cadf060aa
      https://github.com/llvm/llvm-project/commit/54e2dc7537dd62a70d76883197e3007cadf060aa
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    A llvm/test/CodeGen/AMDGPU/vector-alloca-limits.ll

  Log Message:
  -----------
  [AMDGPU] Limit promote alloca to vector with VGPR budget

Allow only up to 1/4 of available VGPRs for the vectorization
of any given alloca.

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




More information about the All-commits mailing list