[all-commits] [llvm/llvm-project] 27e193: [AMDGPU] Fix PreRARematerialize scheduler pass sin...

vangthao95 via All-commits all-commits at lists.llvm.org
Thu Mar 17 11:40:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27e1931508115f9a2a942845a2df0ee11be3332a
      https://github.com/llvm/llvm-project/commit/27e1931508115f9a2a942845a2df0ee11be3332a
  Author: Vang Thao <Vang.Thao at amd.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

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

  Log Message:
  -----------
  [AMDGPU] Fix PreRARematerialize scheduler pass sinking subreg defs

When collecting trivially rematerializable defs, skip any subreg defs. We do not want to sink these.

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




More information about the All-commits mailing list