[all-commits] [llvm/llvm-project] e2b931: [PowerPC] Only make copies of registers on stack i...

bzEq via All-commits all-commits at lists.llvm.org
Thu Jul 9 00:40:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e2b93185b84bd88264377f785465933a89faa4f8
      https://github.com/llvm/llvm-project/commit/e2b93185b84bd88264377f785465933a89faa4f8
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/legalize-vaarg.ll
    M llvm/test/CodeGen/PowerPC/ppc64-varargs.ll

  Log Message:
  -----------
  [PowerPC] Only make copies of registers on stack in variadic function when va_start is called

On PPC64, for a variadic function, if va_start is not called, it won't
access any variadic argument on stack, thus we can save stores of
registers used to pass arguments.

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




More information about the All-commits mailing list