[all-commits] [llvm/llvm-project] 443556: AMDGPU/GlobalISel: Fix some legalization of < dwor...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jun 26 15:07:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 443556c18f5310b03891f4685ac3831bdcf6f5c7
      https://github.com/llvm/llvm-project/commit/443556c18f5310b03891f4685ac3831bdcf6f5c7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-26 (Fri, 26 Jun 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-constant.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-flat.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-global.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-private.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Fix some legalization of < dword vector stores

This avoids many instances of failing to legalize a vector truncstore
of <4 x s8> to 2 bytes. We don't perfectly handle every truncstore
yet, largely because the given set of legalization actions can't
actually differentiate between changing the result type and changing
the memory type.




More information about the All-commits mailing list