Jakob Stoklund Olesen
4662a9f270
Allow coalescing with reserved physregs in certain cases:
...
When a virtual register has a single value that is defined as a copy of a
reserved register, permit that copy to be joined. These virtual register are
usually copies of the stack pointer:
%vreg75<def> = COPY %ESP; GR32:%vreg75
MOV32mr %vreg75, 1, %noreg, 0, %noreg, %vreg74<kill>
MOV32mi %vreg75, 1, %noreg, 8, %noreg, 0
MOV32mi %vreg75<kill>, 1, %noreg, 4, %noreg, 0
CALLpcrel32 ...
Coalescing these virtual registers early decreases register pressure.
Previously, they were coalesced by RALinScan::attemptTrivialCoalescing after
register allocation was completed.
The lower register pressure causes the mcinst-lowering-cmp0.ll test case to fail
because it depends on linear scan spilling a particular register.
I am deleting 2008-08-05-SpillerBug.ll because it is counting the number of
instructions emitted, and its revision history shows the 'correct' count being
edited many times.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128845 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-04 21:00:03 +00:00
..
2011-03-02 17:23:43 +00:00
2011-03-11 01:05:58 +00:00
2011-03-16 13:53:07 +00:00
2011-03-16 13:53:07 +00:00
2011-03-11 21:52:04 +00:00
2011-03-08 02:42:25 +00:00
2011-03-08 02:42:25 +00:00
2011-03-11 01:05:58 +00:00
2011-01-07 23:50:32 +00:00
2011-01-13 06:47:10 +00:00
2011-01-16 18:02:57 +00:00
2011-03-31 17:23:25 +00:00
2011-03-09 22:07:31 +00:00
2011-02-17 12:24:17 +00:00
2011-02-17 12:24:17 +00:00
2011-01-13 06:47:10 +00:00
2011-02-24 19:06:27 +00:00
2011-01-07 19:35:30 +00:00
2011-03-09 19:17:10 +00:00
2011-03-25 17:20:59 +00:00
2011-01-12 23:36:21 +00:00
2011-01-07 19:35:30 +00:00
2011-02-23 22:37:04 +00:00
2011-02-24 19:06:27 +00:00
2011-03-08 02:42:25 +00:00
2011-03-02 03:31:46 +00:00
2011-01-06 23:45:22 +00:00
2011-01-10 21:53:07 +00:00
2011-02-19 01:28:37 +00:00
2011-02-04 22:44:08 +00:00
2011-02-22 06:52:56 +00:00
2011-02-24 02:36:52 +00:00
2011-02-28 14:22:08 +00:00
2011-03-02 23:41:40 +00:00
2011-03-08 20:19:10 +00:00
2011-03-09 19:27:06 +00:00
2011-03-30 23:44:13 +00:00
2011-01-13 06:47:10 +00:00
2011-03-08 15:20:20 +00:00
2011-02-26 22:48:07 +00:00
2011-01-16 18:02:57 +00:00
2011-03-16 13:52:51 +00:00
2011-03-04 20:03:14 +00:00
2011-03-16 13:53:07 +00:00
2011-03-16 22:20:18 +00:00
2011-03-08 02:42:25 +00:00
2011-02-22 07:19:20 +00:00
2011-03-04 20:03:14 +00:00
2011-01-08 01:24:27 +00:00
2011-03-16 13:52:20 +00:00
2011-03-16 13:52:20 +00:00
2011-03-16 13:52:20 +00:00
2011-03-16 13:52:20 +00:00
2011-03-10 00:25:53 +00:00
2011-03-16 13:52:20 +00:00
2011-03-08 02:42:25 +00:00
2011-03-16 13:52:38 +00:00
2011-02-22 07:19:28 +00:00
2011-03-08 02:42:25 +00:00
2011-03-16 23:01:31 +00:00
2011-02-22 07:19:37 +00:00
2011-03-16 13:53:07 +00:00
2011-03-28 23:02:18 +00:00
2011-02-22 07:19:46 +00:00
2011-03-29 02:18:54 +00:00
2011-03-26 02:19:36 +00:00
2011-02-18 22:43:42 +00:00
2011-02-23 22:35:57 +00:00
2011-03-25 17:20:59 +00:00
2011-03-17 20:39:14 +00:00
2011-02-21 04:50:06 +00:00
2011-03-16 13:52:08 +00:00
2011-02-22 07:19:54 +00:00
2011-03-22 00:04:35 +00:00
2011-03-16 13:52:38 +00:00
2011-03-11 01:05:58 +00:00
2011-03-09 19:27:06 +00:00
2011-03-23 22:18:48 +00:00
2011-02-22 07:20:10 +00:00
2011-03-04 20:03:14 +00:00
2011-03-04 20:03:14 +00:00
2011-03-16 13:52:51 +00:00
2011-03-16 13:52:51 +00:00
2011-03-17 04:24:40 +00:00
2011-03-16 13:53:07 +00:00
2011-02-22 07:20:18 +00:00
2011-03-02 01:08:17 +00:00
2011-03-16 13:53:07 +00:00
2011-02-22 07:20:26 +00:00
2011-02-16 01:10:03 +00:00
2011-02-16 01:08:31 +00:00
2011-03-23 23:11:02 +00:00
2011-01-29 04:46:23 +00:00
2011-03-08 02:42:25 +00:00
2011-02-22 07:20:35 +00:00
2011-03-02 01:34:10 +00:00
2011-03-04 20:46:46 +00:00
2011-02-22 07:20:44 +00:00
2011-03-08 02:42:25 +00:00
2011-03-15 02:22:10 +00:00
2011-03-11 21:52:04 +00:00
2011-02-22 07:20:52 +00:00
2011-01-07 19:35:30 +00:00
2011-01-07 19:35:30 +00:00
2011-01-07 19:35:30 +00:00
2011-01-07 19:35:30 +00:00
2011-03-16 13:53:07 +00:00
2011-02-22 07:21:01 +00:00
2011-02-22 07:21:08 +00:00
2011-03-16 13:52:51 +00:00
2011-03-11 21:52:04 +00:00
2011-02-27 08:06:01 +00:00
2011-03-04 20:03:14 +00:00
2011-03-16 13:52:51 +00:00
2011-03-11 01:05:58 +00:00
2011-03-11 21:52:04 +00:00
2011-02-22 07:21:17 +00:00
2011-02-22 07:18:55 +00:00
2011-02-22 07:21:25 +00:00
2011-03-08 02:42:25 +00:00
2011-01-16 18:02:57 +00:00
2011-03-16 13:52:38 +00:00
2011-03-23 23:11:02 +00:00
2011-01-07 19:35:30 +00:00
2011-02-14 06:30:45 +00:00
2011-03-16 13:52:38 +00:00
2011-03-16 13:52:38 +00:00
2011-03-16 13:52:38 +00:00
2011-03-16 13:52:38 +00:00
2011-01-13 06:47:10 +00:00
2011-03-16 13:52:38 +00:00
2011-02-13 22:25:43 +00:00
2011-03-16 13:52:38 +00:00
2011-03-16 13:52:38 +00:00
2011-03-16 13:52:38 +00:00
2011-03-08 15:20:20 +00:00
2011-03-24 04:52:10 +00:00
2011-01-26 02:04:09 +00:00
2011-03-16 13:52:38 +00:00
2011-02-27 08:47:19 +00:00
2011-02-22 07:21:33 +00:00
2011-01-07 19:35:30 +00:00
2011-03-02 01:08:17 +00:00
2011-01-07 19:35:30 +00:00
2011-03-25 17:20:59 +00:00
2011-03-11 21:51:56 +00:00
2011-02-22 07:21:42 +00:00
2011-03-16 13:52:51 +00:00
2011-03-11 01:05:58 +00:00
2011-02-24 21:01:34 +00:00
2011-03-05 02:38:02 +00:00
2011-03-16 13:53:07 +00:00
2011-02-24 21:01:34 +00:00
2011-03-19 00:41:39 +00:00
2011-03-16 13:53:07 +00:00
2011-02-22 07:21:51 +00:00
2011-03-19 13:09:10 +00:00
2011-02-20 12:37:50 +00:00
2011-01-28 03:57:55 +00:00
2011-03-16 13:52:51 +00:00
2011-03-24 07:07:00 +00:00
2011-02-05 15:11:32 +00:00
2011-03-09 11:33:15 +00:00
2011-03-24 07:07:00 +00:00
2011-03-16 13:53:07 +00:00
2011-02-22 07:21:59 +00:00
2011-03-11 21:52:04 +00:00
2011-03-08 02:42:25 +00:00