[PATCH] D13176: PrologueEpilogInserter: Fix missing live-ins when savepoint equals restorepoint

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 13:14:11 PDT 2015


MatzeB created this revision.
MatzeB added a reviewer: qcolombet.
MatzeB added subscribers: llvm-commits, kbarton, hfinkel.
MatzeB set the repository for this revision to rL LLVM.

The algorithm would not modify the live-in list of blocks below the save
block point which is correct unless it happens to be a restore point at
the same time.

Also fixes the benign issue of live-in registers being added twice in some cases.

The testcase is based on a test submitted by Kit Barton.

Repository:
  rL LLVM

http://reviews.llvm.org/D13176

Files:
  lib/CodeGen/PrologEpilogInserter.cpp
  test/CodeGen/PowerPC/shrinkwrapping.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13176.35758.patch
Type: text/x-patch
Size: 8270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/318cc53a/attachment.bin>


More information about the llvm-commits mailing list