[all-commits] [llvm/llvm-project] e38f98: [AMDGPU][Scheduler] Fix usage of `TII.reMaterializ...

Lucas Ramirez via All-commits all-commits at lists.llvm.org
Fri Jul 25 03:51:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e38f98f535f6e2ce2b42ea0413919f87b1239964
      https://github.com/llvm/llvm-project/commit/e38f98f535f6e2ce2b42ea0413919f87b1239964
  Author: Lucas Ramirez <11032120+lucas-rami at users.noreply.github.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

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

  Log Message:
  -----------
  [AMDGPU][Scheduler] Fix usage of `TII.reMaterialize` (NFC) (#150259)

Any non-zero `SubIdx` passed to the method is composed with the
rematerialized instruction's first operand's subregister to determine
the new register's subregister. In our case we want the new register to
have the same subregister as the old one, so we should pass 0.



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