Tim Northover
7c4342e90b
ARM: fix folding of stack-adjustment (yet again).
...
When trying to eliminate an "sub sp, sp, #N" instruction by folding
it into an existing push/pop using dummy registers, we need to account
for the fact that this might affect precisely how "fp" gets set in the
prologue.
We were attempting this, but assuming that *whenever* we performed a
fold it would make a difference. This is false, for example, in:
push {r4, r7, lr}
add fp, sp, #4
vpush {d8}
sub sp, sp, #8
we can fold the "sub" into the "vpush", forming "vpush {d7, d8}".
However, in that case the "add fp" instruction mustn't change, which
we were getting wrong before.
Should fix PR18160.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196725 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-08 15:56:50 +00:00
..
2013-08-22 17:11:18 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2013-08-21 22:20:53 +00:00
2013-10-14 16:57:17 +00:00
2013-11-22 21:49:45 +00:00
2013-10-14 16:57:17 +00:00
2013-09-25 00:26:16 +00:00
2013-09-25 00:26:16 +00:00
2013-10-14 16:57:17 +00:00
2013-08-12 12:43:26 +00:00
2013-10-11 18:09:19 +00:00
2013-10-11 18:09:19 +00:00
2013-11-13 18:29:49 +00:00
2013-08-14 16:35:29 +00:00
2013-07-30 04:43:08 +00:00
2013-10-14 16:57:17 +00:00
2013-11-14 17:15:39 +00:00
2013-08-12 12:43:26 +00:00
2013-12-03 11:23:11 +00:00
2013-11-14 13:58:06 +00:00
2013-08-01 21:42:05 +00:00
2013-09-09 14:21:49 +00:00
2013-09-26 12:22:36 +00:00
2013-08-22 12:19:24 +00:00
2013-10-25 09:30:24 +00:00
2013-09-26 12:22:36 +00:00
2013-11-12 10:38:05 +00:00
2013-11-25 13:17:15 +00:00
2013-10-07 19:47:53 +00:00
2013-11-22 21:49:45 +00:00
2013-08-20 08:57:11 +00:00
2013-12-02 10:35:41 +00:00
2013-09-02 17:09:01 +00:00
2013-10-24 23:11:05 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2013-11-23 01:16:29 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2013-11-22 21:49:45 +00:00
2013-10-07 18:06:48 +00:00
2013-08-16 23:37:23 +00:00
2013-08-23 15:20:56 +00:00
2013-08-26 20:22:05 +00:00
2013-11-18 13:50:19 +00:00
2013-08-16 23:37:23 +00:00
2013-08-16 23:37:36 +00:00
2013-08-16 23:37:36 +00:00
2013-08-16 23:37:36 +00:00
2013-11-22 13:25:07 +00:00
2013-08-21 22:20:53 +00:00
2013-08-26 20:07:29 +00:00
2013-08-16 23:37:36 +00:00
2013-09-09 14:21:49 +00:00
2013-08-16 23:37:23 +00:00
2013-08-12 12:43:26 +00:00
2013-08-16 23:37:31 +00:00
2013-11-15 19:09:27 +00:00
2013-12-08 15:56:50 +00:00
2013-10-11 19:04:37 +00:00
2013-10-04 16:52:54 +00:00
2013-12-02 10:35:41 +00:00
2013-08-22 06:51:04 +00:00
2013-10-01 14:33:28 +00:00
2013-09-19 11:59:01 +00:00
2013-10-01 12:39:11 +00:00
2013-08-16 00:37:11 +00:00
2013-10-11 18:09:19 +00:00
2013-10-11 18:09:19 +00:00
2013-12-02 10:35:41 +00:00
2013-12-02 14:46:26 +00:00
2013-09-30 18:17:35 +00:00
2013-11-26 12:45:05 +00:00
2013-08-21 22:20:53 +00:00
2013-08-12 12:43:26 +00:00
2013-10-11 11:07:00 +00:00
2013-11-08 18:14:17 +00:00
2013-10-04 16:52:56 +00:00
2013-08-26 20:22:08 +00:00
2013-09-26 17:25:10 +00:00
2013-10-11 18:09:19 +00:00
2013-08-06 13:58:03 +00:00
2013-12-05 17:55:58 +00:00
2013-08-22 09:57:11 +00:00
2013-10-04 16:52:51 +00:00
2013-10-11 18:09:19 +00:00
2013-08-22 09:57:11 +00:00
2013-11-03 06:14:38 +00:00
2013-08-22 23:45:24 +00:00
2013-10-17 19:52:05 +00:00
2013-10-15 19:42:32 +00:00
2013-09-30 18:17:35 +00:00
2013-12-06 17:56:48 +00:00
2013-09-02 15:48:17 +00:00
2013-09-04 21:23:23 +00:00
2013-09-09 14:21:49 +00:00
2013-12-04 22:43:20 +00:00
2013-12-04 22:43:20 +00:00
2013-12-04 22:43:20 +00:00
2013-08-26 20:22:08 +00:00
2013-10-11 18:09:19 +00:00
2013-08-28 14:33:33 +00:00
2013-10-11 18:09:19 +00:00
2013-10-10 09:28:20 +00:00
2013-09-04 17:05:18 +00:00
2013-09-13 13:46:57 +00:00
2013-09-25 23:12:06 +00:00
2013-08-28 14:33:33 +00:00
2013-09-13 13:46:57 +00:00
2013-10-11 18:09:19 +00:00
2013-08-28 14:33:33 +00:00