[PATCH] D33003: Add callee-saved registers as implicit uses in return instructions

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 08:07:56 PDT 2017


kparzysz created this revision.
Herald added subscribers: javed.absar, nemanjai.

Update the block live-ins to have the saved registers on the paths from the entry blocks to the save blocks, and have the restored registers on the paths from the restore blocks to the returns.


Repository:
  rL LLVM

https://reviews.llvm.org/D33003

Files:
  include/llvm/Target/TargetFrameLowering.h
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/CodeGen/TargetFrameLoweringImpl.cpp
  lib/Target/ARM/ARMFrameLowering.cpp
  lib/Target/ARM/ARMFrameLowering.h
  lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  lib/Target/X86/X86FrameLowering.cpp
  lib/Target/X86/X86FrameLowering.h
  test/CodeGen/PowerPC/ppc-shrink-wrapping.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33003.98288.patch
Type: text/x-patch
Size: 18457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170509/0526a491/attachment-0001.bin>


More information about the llvm-commits mailing list