[all-commits] [llvm/llvm-project] 1429e4: [AMDGPU][GlobalISel] Revise handling of wide loads...

Austin Kerbow via All-commits all-commits at lists.llvm.org
Mon May 11 18:10:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1429e4c3992d2a5f90de5879773b6cf5a050cb5e
      https://github.com/llvm/llvm-project/commit/1429e4c3992d2a5f90de5879773b6cf5a050cb5e
  Author: Austin Kerbow <Austin.Kerbow at amd.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Revise handling of wide loads in RegBankSelect

When splitting loads in RegBankSelect G_EXTRACT_VECTOR_ELT were being added
which could not be selected. Since invoking the legalizer will generate
instructions that split and combine wide loads, we can remove the redundant
repair instructions which are added by RegBankSelect.

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




More information about the All-commits mailing list