[all-commits] [llvm/llvm-project] c460dc: AMDGPU/GlobalISel: Fix some illegal scalar argumen...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 16 09:51:34 PDT 2020


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

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

  Log Message:
  -----------
  AMDGPU/GlobalISel: Fix some illegal scalar argument types

Fixes integers that don't evenly divide to i32 pieces. We should
probably extract some of the code in the legalizer to start handling
argument breakdowns. I'm dissatisfied with the argument lowering's
handling of vectors for example, and we should not be producing the
weird G_EXTRACTs we do now.




More information about the All-commits mailing list