[all-commits] [llvm/llvm-project] ab55cc: [X86] pr51000 in-register struct return tailcalling

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Wed Aug 25 10:16:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab55cc6cef270c565aa31b517533432b05903389
      https://github.com/llvm/llvm-project/commit/ab55cc6cef270c565aa31b517533432b05903389
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/sibcall.ll

  Log Message:
  -----------
  [X86] pr51000 in-register struct return tailcalling

In-register structure returns are not special, and handled by lowering
to multiple-value tuples.  We can tail-call from non-sret fns to
structure-returning functions, except on i686 where the sret pointer
is callee-pop.

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




More information about the All-commits mailing list