[all-commits] [llvm/llvm-project] 9e1d2a: AMDGPU/GlobalISel: Don't use vector G_EXTRACT in a...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Mar 4 13:50:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e1d2afc13c291fed0610bdfe89eb678890f7b88
      https://github.com/llvm/llvm-project/commit/9e1d2afc13c291fed0610bdfe89eb678890f7b88
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-04 (Wed, 04 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.store.2d.d16.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Don't use vector G_EXTRACT in arg lowering

Create a wider source vector, and unmerge with dead defs like the
legalizer. The legalization handling for G_EXTRACT is incomplete, and
it's preferrable to keep everything in 32-bit pieces.

We should probably start moving these functions into utils, since we
have a growing number of places that do almost the same thing.




More information about the All-commits mailing list