[all-commits] [llvm/llvm-project] b72a23: GlobalISel: Fix using wrong calling convention for...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Feb 9 10:49:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b72a23650f573299aec30846fb844c3558921fb8
      https://github.com/llvm/llvm-project/commit/b72a23650f573299aec30846fb844c3558921fb8
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-02-09 (Tue, 09 Feb 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/lib/Target/ARM/ARMCallLowering.cpp
    M llvm/lib/Target/X86/X86CallLowering.cpp

  Log Message:
  -----------
  GlobalISel: Fix using wrong calling convention for callees

This was taking the calling convention from the parent function,
instead of the callee. Avoids regressions in a future patch when the
caller and callee have different type breakdowns.

For some reason AArch64's lowerFormalArguments seems to intentionally
ignore the parent isVarArg.




More information about the All-commits mailing list