[all-commits] [llvm/llvm-project] 689e61: [AMDGPU] Promote alloca to vector in opt

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu May 21 13:50:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 689e616ed0b1210517dda65dc3528f8fdb9a5959
      https://github.com/llvm/llvm-project/commit/689e616ed0b1210517dda65dc3528f8fdb9a5959
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    A llvm/lib/Target/AMDGPU/sroa-before-unroll.ll
    M llvm/test/CodeGen/AMDGPU/opt-pipeline.ll

  Log Message:
  -----------
  [AMDGPU] Promote alloca to vector in opt

Promote alloca to vector before SROA and loop unroll. If we manage
to eliminate allocas before unroll we may choose to unroll less.

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




More information about the All-commits mailing list