[all-commits] [llvm/llvm-project] 199ac3: [NFC][X86] Sret return register cleanup

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Fri Aug 27 04:04:06 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  -----------
  [NFC][X86] Sret return register cleanup

There are no paths into LowerFormalParms that have already specified
the sret register. We always materialize a virtual and then assign it
to the physical reg at the point of the return.

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




More information about the All-commits mailing list