[all-commits] [llvm/llvm-project] f4ca6d: AMDGPU: Fix verifier error with argument passed in...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Feb 9 10:53:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f4ca6d8289ef116314d4d5080080907e8cb7342d
      https://github.com/llvm/llvm-project/commit/f4ca6d8289ef116314d4d5080080907e8cb7342d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
    A llvm/test/CodeGen/AMDGPU/spill-sgpr-csr-live-ins.mir

  Log Message:
  -----------
  AMDGPU: Fix verifier error with argument passed in CSR SGPR

We need to avoid setting the kill flag on the CSR spill if there's an
additional use of the register after the spill.

This does rely on consistency between the entry block liveins and the
MRI's function live ins, which is not something the verifier checks
now.




More information about the All-commits mailing list