Evan Cheng
bfe8afaaec
After r147827 and r147902, it's now possible for unallocatable registers to be
...
live across BBs before register allocation. This miscompiled 197.parser
when a cmp + b are optimized to a cbnz instruction even though the CPSR def
is live-in a successor.
cbnz r6, LBB89_12
...
LBB89_12:
ble LBB89_1
The fix consists of two parts. 1) Teach LiveVariables that some unallocatable
registers might be liveouts so don't mark their last use as kill if they are.
2) ARM constantpool island pass shouldn't form cbz / cbnz if the conditional
branch does not kill CPSR.
rdar://10676853
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148168 91177308-0d34-0410-b5e6-96231b3b80d8
2012-01-14 01:53:46 +00:00
..
2011-12-20 18:26:50 +00:00
2011-06-19 00:03:46 +00:00
2011-06-19 00:03:46 +00:00
2011-06-19 00:03:46 +00:00
2011-06-18 06:05:24 +00:00
2011-03-11 21:52:04 +00:00
2010-09-17 20:34:09 +00:00
2010-09-17 20:34:09 +00:00
2011-03-11 21:52:04 +00:00
2011-06-30 18:25:42 +00:00
2011-11-14 23:03:21 +00:00
2011-11-27 06:54:59 +00:00
2010-09-03 18:37:12 +00:00
2011-11-14 23:03:21 +00:00
2011-08-03 22:34:43 +00:00
2011-05-04 19:02:11 +00:00
2012-01-04 01:55:04 +00:00
2010-12-04 04:40:19 +00:00
2011-04-22 01:42:52 +00:00
2011-06-30 22:10:46 +00:00
2011-12-17 01:25:34 +00:00
2012-01-14 01:53:46 +00:00
2011-12-16 23:00:05 +00:00
2012-01-06 22:19:37 +00:00
2011-05-04 19:02:11 +00:00
2010-10-20 22:03:37 +00:00
2012-01-10 22:32:14 +00:00
2010-10-08 06:15:13 +00:00
2010-08-27 17:13:24 +00:00
2011-03-11 21:52:04 +00:00
2010-11-17 21:57:32 +00:00
2010-12-03 20:33:01 +00:00
2011-11-12 22:39:34 +00:00
2011-07-08 00:24:06 +00:00
2011-12-14 02:11:42 +00:00
2011-07-02 21:34:52 +00:00
2010-07-20 16:16:48 +00:00
2011-09-26 21:36:10 +00:00
2011-09-26 21:36:10 +00:00
2010-08-13 22:43:33 +00:00
2012-01-10 02:02:58 +00:00
2011-12-12 11:59:10 +00:00
2011-05-04 19:02:07 +00:00
2011-05-04 19:02:07 +00:00
2011-05-04 19:02:07 +00:00
2010-08-13 22:43:33 +00:00
2011-08-03 22:34:43 +00:00
2012-01-04 01:55:04 +00:00
2011-01-21 18:55:51 +00:00
2012-01-04 01:55:04 +00:00
2011-11-12 19:53:52 +00:00
2011-04-25 10:12:01 +00:00
2011-08-19 22:19:48 +00:00
2010-11-17 20:13:28 +00:00
2011-08-19 22:19:48 +00:00
2011-07-01 21:12:19 +00:00
2010-08-17 17:23:19 +00:00
2011-07-07 03:55:05 +00:00
2011-04-29 14:18:15 +00:00
2011-06-29 14:07:18 +00:00
2011-12-14 02:11:42 +00:00
2011-07-01 21:12:19 +00:00
2011-07-01 21:12:19 +00:00
2011-01-07 04:59:04 +00:00
2011-04-23 03:55:32 +00:00
2011-04-23 03:55:32 +00:00
2011-06-17 03:14:27 +00:00
2011-08-08 19:49:37 +00:00
2011-07-13 00:42:17 +00:00
2011-07-13 00:42:17 +00:00
2011-07-13 00:42:17 +00:00
2011-07-13 00:42:17 +00:00
2011-06-17 03:14:27 +00:00
2011-04-13 00:38:32 +00:00