[all-commits] [llvm/llvm-project] 8e5b96: [AMDGPU] Add test coverage to ensure first regallo...

Jeffrey Byrnes via All-commits all-commits at lists.llvm.org
Thu Oct 6 14:32:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e5b96cce91e63908a91cdaef81e9a1c993b18f2
      https://github.com/llvm/llvm-project/commit/8e5b96cce91e63908a91cdaef81e9a1c993b18f2
  Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/fastregalloc-sgpr-only.mir

  Log Message:
  -----------
  [AMDGPU] Add test coverage to ensure first regallocfast only allocates SGPR

Register allocation is split into two passes, and the expected behavior is that the first pass only should only work on virtual SGPRs. Whereas the second pass works on virtual VGPRs. This adds a test case which breaks if the first pass allocates VGPRs.

Differential Revision: https://reviews.llvm.org/D135331




More information about the All-commits mailing list