[all-commits] [llvm/llvm-project] 3524d4: AMDGPU/GlobalISel: Fix RegBankSelect for G_INSERT_...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jan 22 07:58:01 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3524d4412cffd5ad2c05c017964719e9f96d4382
      https://github.com/llvm/llvm-project/commit/3524d4412cffd5ad2c05c017964719e9f96d4382
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

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

  Log Message:
  -----------
  AMDGPU/GlobalISel: Fix RegBankSelect for G_INSERT_VECTOR_ELT

The result and source vector are going to be tied, so these need to be
the same bank.

The inserted value also needs to be broken down based on the result
bank, not the inserted value itself.




More information about the All-commits mailing list