[all-commits] [llvm/llvm-project] e77d42: [AMDGPU] Do not remat instructions with PhysReg us...

Jeffrey Byrnes via All-commits all-commits at lists.llvm.org
Mon Jan 27 10:50:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e77d428e46d94e1be6e5f38205b01d3f528d5e3f
      https://github.com/llvm/llvm-project/commit/e77d428e46d94e1be6e5f38205b01d3f528d5e3f
  Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
  Date:   2025-01-27 (Mon, 27 Jan 2025)

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

  Log Message:
  -----------
  [AMDGPU] Do not remat instructions with PhysReg uses (#124366)

This blocks rematerialization during scheduling if the instruction has a
non accepted PhysReg use.

Currently, there aren't any checks like this in place, and we may create
invalid code: https://godbolt.org/z/xjPjdcorf



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list