[all-commits] [llvm/llvm-project] 4aa7fb: [AMDGPU] Revert scheduling to reduce spilling

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Jan 3 15:20:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4aa7fb77527bee74e93e7cd8242f016c0f229236
      https://github.com/llvm/llvm-project/commit/4aa7fb77527bee74e93e7cd8242f016c0f229236
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-01-03 (Fri, 03 Jan 2020)

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

  Log Message:
  -----------
  [AMDGPU] Revert scheduling to reduce spilling

We can revert region schedule if new schedule decreases occupancy.
However, if we already have only one wave we would accept any new
schedule even if it blows up register pressure. Such schedule may
result in quite heavy spilling which can be avoided if we reject
this new schedule.

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




More information about the All-commits mailing list