[PowerPC] Add implicit ops to conditional returns in PPCEarlyReturn
authorHal Finkel <hfinkel@anl.gov>
Sun, 1 Feb 2015 20:16:10 +0000 (20:16 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 1 Feb 2015 20:16:10 +0000 (20:16 +0000)
commit604e1b770ce7940468249a38cd06237a4d108c45
tree1f67f929a3e480bf919d55c5c4b22c89024a36cf
parentc400986f57a2b01ddf9b26de58b05e367b2830b8
[PowerPC] Add implicit ops to conditional returns in PPCEarlyReturn

When PPCEarlyReturn, it should really copy implicit ops from the old return
instruction to the new one. This currently does not matter much, because we run
PPCEarlyReturn very late in the pipeline (there is nothing to do DCE on
definitions of those registers). However, for completeness, we should do it
anyway.

Noticed by inspection (and there should be no functional change); thus, no
test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp