Chuang-Yu Cheng 35c6181982 Fix Sub-register Rewriting in Aggressive Anti-Dependence Breaker
Previously, HandleLastUse would delete RegRef information for sub-registers
if they were dead even if their corresponding super-register were still live.

If the super-register were later renamed, then the definitions of the
sub-register would not be updated appropriately. This patch alters the
behavior so that RegInfo information for sub-registers is only deleted when
the sub-register and super-register are both dead.

This resolves PR26775. This is the mirror image of Hal's r227311 commit.

Author: Tom Jablin (tjablin)
Reviewers: kbarton uweigand nemanjai hfinkel

http://reviews.llvm.org/D18448

llvm-svn: 265097
2016-04-01 02:05:29 +00:00
..
2016-01-26 00:03:25 +00:00
2013-03-27 06:52:27 +00:00
2015-07-28 20:38:29 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2014-12-26 16:42:47 +00:00
2013-04-05 23:29:01 +00:00
2015-06-16 16:01:15 +00:00
2013-08-06 17:03:03 +00:00
2016-01-11 23:21:45 +00:00
2016-02-29 16:42:27 +00:00
2016-02-04 23:14:42 +00:00
2016-03-12 10:23:07 +00:00
2016-02-04 01:58:20 +00:00
2013-04-27 00:43:16 +00:00
2012-12-19 15:49:14 +00:00
2015-11-10 21:38:26 +00:00