[all-commits] [llvm/llvm-project] 799c50: [AMDGPU] Avoid second rescheduling for some regions

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Feb 26 12:55:26 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 799c50fe935b610d7e3c092255779f1d5e2f39d8
      https://github.com/llvm/llvm-project/commit/799c50fe935b610d7e3c092255779f1d5e2f39d8
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h

  Log Message:
  -----------
  [AMDGPU] Avoid second rescheduling for some regions

If a region was not constrained by a high register pressure
and was not rescheduled without clustering we can skip
rescheduling it ClusteredLowOccupancyReschedule stage.

This improves scheduling speed by 25% on some kernels.

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




More information about the All-commits mailing list