[all-commits] [llvm/llvm-project] 7907fd: RegAllocFast: Fix dropping subreg indexes on unass...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Apr 5 15:26:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7907fd49619f121df6feafd8ca524840bcb6d5da
      https://github.com/llvm/llvm-project/commit/7907fd49619f121df6feafd8ca524840bcb6d5da
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocFast.cpp
    A llvm/test/CodeGen/AMDGPU/regalloc-fast-dont-drop-subreg-index-issue61134.mir

  Log Message:
  -----------
  RegAllocFast: Fix dropping subreg indexes on unassigned subreg defs

This was assuming all register operands were assigned to physical registers.
This should ignore the operands which weren't assigned in this run.

Fixes #61134




More information about the All-commits mailing list