[all-commits] [llvm/llvm-project] 2faa90: [AMDGPU] Retain subreg when legalising generic ope...

Zach Goldthorpe via All-commits all-commits at lists.llvm.org
Wed Jul 29 06:50:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2faa90a208a14b7e681dc9122a889c894823814a
      https://github.com/llvm/llvm-project/commit/2faa90a208a14b7e681dc9122a889c894823814a
  Author: Zach Goldthorpe <Zach.Goldthorpe at amd.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-f16-true16.mir

  Log Message:
  -----------
  [AMDGPU] Retain subreg when legalising generic operand (#212636)

When building a `COPY` to legalise a generic operand whose register
class does not match what is expected, the subregister is not retained
in the copy, and is not dropped from the newly created virtual
destination register.



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