[all-commits] [llvm/llvm-project] 21a0ef: AMDGPU/GlobalISel: Redo kernel argument load handling

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jul 16 05:57:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21a0ef8d19aaec9f948ab20d880605161b366ad1
      https://github.com/llvm/llvm-project/commit/21a0ef8d19aaec9f948ab20d880605161b366ad1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-07-16 (Fri, 16 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Redo kernel argument load handling

This avoids relying on G_EXTRACT on unusual types, and also properly
decomposes structs into multiple registers. This also preserves the
LLTs in the memory operands.




More information about the All-commits mailing list