LivePhysRegs: Fix live-outs of return blocks
authorMatthias Braun <matze@braunis.de>
Fri, 25 Sep 2015 23:50:53 +0000 (23:50 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 25 Sep 2015 23:50:53 +0000 (23:50 +0000)
commita882dfa6b7b75a88abcbeaa28c951c563bd423c2
treed3de8c0ef332649102e7b655699859df64909a8c
parent358e4088417ffbb59a269825daf6543742fa8eef
LivePhysRegs: Fix live-outs of return blocks

I realized that the live-out set computed for the return block is
missing the callee saved registers (the non-pristine ones to be exact).

This only affects the liveness computed for instructions inside the
function epilogue which currently none of the LivePhysRegs users in llvm
cares about, so this is just a drive-by fix without a testcase.

Differential Revision: http://reviews.llvm.org/D13180

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248636 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LivePhysRegs.h
lib/CodeGen/LivePhysRegs.cpp