[all-commits] [llvm/llvm-project] 311edc: [AMDGPU] Enable PreRARematerialize scheduling pass...

vangthao95 via All-commits all-commits at lists.llvm.org
Fri Apr 8 13:09:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 311edc6b5b05f2f1a0151df8c9d054b6fdbf02a1
      https://github.com/llvm/llvm-project/commit/311edc6b5b05f2f1a0151df8c9d054b6fdbf02a1
  Author: Vang Thao <Vang.Thao at amd.com>
  Date:   2022-04-08 (Fri, 08 Apr 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.h
    M llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats.mir

  Log Message:
  -----------
  [AMDGPU] Enable PreRARematerialize scheduling pass with multiple high RP regions

Enable the PreRARematerialize pass when there are multiple high RP scheduling
regions present. Require the occupancy in all high RP regions be improved
before finalizing sinking. If any high RP region did not improve in occupancy
then un-do all sinking and restore the state to before the pass.

Reviewed By: rampitec

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




More information about the All-commits mailing list