[all-commits] [llvm/llvm-project] 5f47d4: [AArch64][SVE] Fix calculation restore point for S...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Wed Aug 26 02:07:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f47d4456d192eaea8c56a2b4648023c8743c927
      https://github.com/llvm/llvm-project/commit/5f47d4456d192eaea8c56a2b4648023c8743c927
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    A llvm/test/CodeGen/AArch64/framelayout-sve-calleesaves-fix.mir

  Log Message:
  -----------
  [AArch64][SVE] Fix calculation restore point for SVE callee saves.

This fixes an issue where the restore point of callee-saves in the
function epilogues was incorrectly calculated when the basic block
consisted of only a RET instruction. This caused dealloc instructions
to be inserted in between the block of callee-save restore instructions,
rather than before it.

Reviewed By: paulwalker-arm

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




More information about the All-commits mailing list