[all-commits] [llvm/llvm-project] 45c237: [AMDGPU] Ignore debug use during PreRARematerializ...

vangthao95 via All-commits all-commits at lists.llvm.org
Mon Apr 4 11:16:15 PDT 2022


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

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

  Log Message:
  -----------
  [AMDGPU] Ignore debug use during PreRARematerialize stage in scheduling pass

Ignore all debug uses when collecting trivially rematerializable defs. This fixes an issue with difference in codegen when enabling debug info.

Reviewed By: rampitec

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




More information about the All-commits mailing list