[all-commits] [llvm/llvm-project] 173224: RegAlloc: Fix remaining virtual registers after al...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Apr 13 13:25:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1732242bee499d639fd481a32f36c5c64e008e8e
      https://github.com/llvm/llvm-project/commit/1732242bee499d639fd481a32f36c5c64e008e8e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocBase.cpp
    A llvm/test/CodeGen/AMDGPU/remaining-virtual-register-operands.ll

  Log Message:
  -----------
  RegAlloc: Fix remaining virtual registers after allocation failure

This testcase fails register allocation, but at the failure point
there were also new split virtual registers. Previously this was
assigning the failing register and not enqueueing the newly created
split virtual registers. These would then never be allocated and
assert in VirtRegRewriter.




More information about the All-commits mailing list