[all-commits] [llvm/llvm-project] ec41ed: [AArch64][GlobalISel] Support the 'returned' param...

AE via All-commits all-commits at lists.llvm.org
Mon Feb 8 12:48:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec41ed5b1b9458d5e06b77ee808823b274cc2ac4
      https://github.com/llvm/llvm-project/commit/ec41ed5b1b9458d5e06b77ee808823b274cc2ac4
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/include/llvm/CodeGen/TargetCallingConv.h
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.h
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
    M llvm/test/CodeGen/AArch64/arm64-this-return.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Support the 'returned' parameter attribute.

On AArch64 (which seems to be the only target that supports it), this
attribute allows codegen to avoid saving/restoring the value in x0
across a call.

Gives a 0.1% geomean -Os code size improvement on CTMark.

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




More information about the All-commits mailing list