[all-commits] [llvm/llvm-project] 78dcff: GlobalISel: Add default implementation of assignVa...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Mar 3 06:30:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78dcff484120d6e162bc139e0198b59ec08568b0
      https://github.com/llvm/llvm-project/commit/78dcff484120d6e162bc139e0198b59ec08568b0
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll

  Log Message:
  -----------
  GlobalISel: Add default implementation of assignValueToReg

Refactor insertion of the asserting ops. This enables using them for
AMDGPU.

This code should essentially be the same for every target. Mips, X86
and ARM all have different code there now, but this seems to be an
accident. The assignment functions are called with different types
than they would be in the DAG, so this is all likely an assortment of
hacks to get around that.




More information about the All-commits mailing list