[all-commits] [llvm/llvm-project] d13ce1: AMDGPU/GlobalISel: Add regbankselect test for vgpr...
    petar-avramovic via All-commits 
    all-commits at lists.llvm.org
       
    Mon May 10 01:20:57 PDT 2021
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d13ce17bb4008b2907e6e85882a9295dce9f6b0a
      https://github.com/llvm/llvm-project/commit/d13ce17bb4008b2907e6e85882a9295dce9f6b0a
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-05-10 (Mon, 10 May 2021)
  Changed paths:
    A llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-uniform-load-noclobber.mir
  Log Message:
  -----------
  AMDGPU/GlobalISel: Add regbankselect test for vgpr(dest) sgpr(address) load
Pre-commit for D101992.
  Commit: f6985a197ef9065a64d0bb819bfd90d1862da45b
      https://github.com/llvm/llvm-project/commit/f6985a197ef9065a64d0bb819bfd90d1862da45b
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-05-10 (Mon, 10 May 2021)
  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/load-unaligned.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-uniform-load-noclobber.mir
  Log Message:
  -----------
  AMDGPU/GlobalISel: Use destination register bank in applyMappingLoad
Large loads on target that does not useFlatForGlobal have to be split
in regbankselect. This did not happen in case when destination had vgpr
bank and address had sgpr bank.
Instead of checking if address bank is sgpr check bank of the destination.
Differential Revision: https://reviews.llvm.org/D101992
Compare: https://github.com/llvm/llvm-project/compare/72d013dd73f4...f6985a197ef9
    
    
More information about the All-commits
mailing list