[all-commits] [llvm/llvm-project] b97013: [AArch64][GlobalISel] Add support for sret demotion.

Amara Emerson via All-commits all-commits at lists.llvm.org
Tue Jul 5 15:24:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b97013fd60977ba62a747729183e033c0900de8c
      https://github.com/llvm/llvm-project/commit/b97013fd60977ba62a747729183e033c0900de8c
  Author: Amara Emerson <amara at apple.com>
  Date:   2022-07-05 (Tue, 05 Jul 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.h
    A llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-sret-demotion.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Add support for sret demotion.

To do this, we need to implement a target hook and make a minor change to the
call lowering to demote arguments to sret if they can't be handled by the
calling conventions.

Fixes issue 56295

Differential Revision: https://reviews.llvm.org/D129098




More information about the All-commits mailing list