[all-commits] [llvm/llvm-project] 9a9a09: [AMDGPU] Avoid sorting stalls in regbank-reassign

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Aug 21 11:50:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a9a092e61d4199207e515be087648b8cc4f9053
      https://github.com/llvm/llvm-project/commit/9a9a092e61d4199207e515be087648b8cc4f9053
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-08-21 (Fri, 21 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNRegBankReassign.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.sample.g16.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/uaddsat.ll
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.encode.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.g16.ll
    M llvm/test/CodeGen/AMDGPU/regbank-reassign.mir

  Log Message:
  -----------
  [AMDGPU] Avoid sorting stalls in regbank-reassign

This is the slowest operation in the already slow pass.
Instead of sorting just put a stall list into an ordered
map.

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




More information about the All-commits mailing list