Matt Arsenault
2363fe8f86
AMDGPU/GlobalISel: Introduce vcc reg bank
...
I'm not entirely sure this is the correct thing
to do with the global isel philosophy, but I think
this is necessary to handle how differently SGPRs
are used normally vs. from a condition.
For example, it makes sense to allow a copy
from a VGPR to an SGPR, but it makes no sense
to allow a copy from VGPRs to SGPRs used as
select mask.
This avoids regbankselecting strange code with
a truncate feeding directly into a condition field.
Now a copy is forced from sgpr(s1) to vcc, which is
more sensible to handle.
Some of these issues could probably avoided with making enough
operations resulting in i1 illegal. I think we can't avoid
this register bank for legality.
For example, an i1 and where one source is from a truncate, and
one source is a compare needs some kind of copy inserted to
make sure both are in condition registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350611 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-08 06:30:53 +00:00
..
2018-12-12 19:39:27 +00:00
2018-06-28 23:47:12 +00:00
2018-09-12 18:50:47 +00:00
2018-12-19 11:55:03 +00:00
2018-05-01 15:54:18 +00:00
2018-12-12 16:15:21 +00:00
2018-12-10 12:06:10 +00:00
2018-12-07 17:46:16 +00:00
2018-11-07 20:26:42 +00:00
2018-11-07 20:26:42 +00:00
2018-08-31 05:49:54 +00:00
2018-12-13 21:23:12 +00:00
2019-01-07 15:52:28 +00:00
2018-06-21 18:36:04 +00:00
2018-07-11 20:59:01 +00:00
2018-12-12 19:39:27 +00:00
2018-12-12 19:39:27 +00:00
2018-11-05 12:04:48 +00:00
2018-08-01 19:57:34 +00:00
2018-08-31 05:49:54 +00:00
2018-08-31 05:49:54 +00:00
2018-10-08 10:32:33 +00:00
2018-08-01 15:04:36 +00:00
2018-10-26 13:18:36 +00:00
2017-03-10 19:39:07 +00:00
2018-05-01 15:54:18 +00:00
2019-01-08 06:30:53 +00:00
2018-10-08 17:49:29 +00:00
2018-12-12 19:39:27 +00:00
2018-12-12 19:39:27 +00:00
2018-11-07 14:35:36 +00:00
2018-07-11 20:59:01 +00:00
2018-07-11 20:59:01 +00:00
2018-10-31 13:26:48 +00:00
2018-11-29 16:05:38 +00:00
2018-10-11 23:36:46 +00:00
2018-10-11 23:36:46 +00:00
2018-12-07 17:46:16 +00:00
2018-12-07 17:46:16 +00:00
2018-12-21 20:57:34 +00:00
2019-01-07 19:30:43 +00:00
2018-10-22 16:27:27 +00:00
2019-01-08 01:30:02 +00:00
2018-07-11 20:59:01 +00:00
2018-08-31 05:49:54 +00:00
2018-12-09 21:56:50 +00:00
2018-06-20 19:45:40 +00:00
2018-07-11 20:59:01 +00:00
2018-12-07 22:12:17 +00:00
2018-05-18 21:35:00 +00:00
2018-07-11 20:59:01 +00:00
2018-07-20 09:05:08 +00:00
2018-07-20 09:05:08 +00:00
2018-05-01 15:54:18 +00:00
2018-05-01 15:54:18 +00:00
2018-11-09 17:58:59 +00:00
2017-07-06 20:57:05 +00:00
2018-08-29 07:46:09 +00:00
2018-06-13 17:31:51 +00:00
2018-08-31 05:49:54 +00:00
2018-05-25 17:46:24 +00:00
2018-11-08 00:16:23 +00:00
2018-12-12 19:39:27 +00:00
2017-06-08 19:25:21 +00:00
2019-01-08 06:30:53 +00:00
2018-12-20 00:33:49 +00:00
2019-01-08 06:30:53 +00:00
2018-05-22 02:03:23 +00:00
2018-10-05 14:23:11 +00:00
2018-06-28 23:47:12 +00:00
2018-05-14 12:53:11 +00:00
2018-06-21 13:37:45 +00:00
2018-11-29 20:14:17 +00:00
2018-11-29 20:14:17 +00:00
2018-12-13 21:23:12 +00:00
2018-08-31 05:49:54 +00:00
2019-01-03 11:22:58 +00:00
2018-12-12 11:20:04 +00:00
2018-08-31 05:49:54 +00:00
2018-08-31 05:49:54 +00:00
2018-08-30 14:21:36 +00:00
2018-05-01 15:54:18 +00:00
2018-06-28 23:47:12 +00:00
2018-05-01 16:10:38 +00:00
2018-12-12 16:15:21 +00:00
2017-12-07 10:40:31 +00:00
2018-12-10 12:06:10 +00:00
2018-10-17 15:37:48 +00:00
2018-07-11 20:59:01 +00:00
2018-11-16 01:13:34 +00:00
2018-11-30 14:21:56 +00:00
2018-09-10 10:14:48 +00:00
2018-07-11 20:59:01 +00:00
2018-09-19 00:23:35 +00:00
2018-09-27 02:13:45 +00:00
2017-11-20 14:35:53 +00:00
2018-09-19 00:23:35 +00:00
2018-10-24 08:14:07 +00:00
2018-07-11 20:59:01 +00:00
2018-07-11 20:59:01 +00:00
2018-07-11 20:59:01 +00:00
2018-07-11 20:59:01 +00:00
2018-12-12 19:39:27 +00:00
2018-11-29 20:14:17 +00:00
2018-07-20 09:05:08 +00:00
2018-07-11 20:59:01 +00:00
2018-05-24 20:02:01 +00:00
2018-06-28 23:47:12 +00:00
2018-07-11 20:59:01 +00:00
2018-05-01 15:54:18 +00:00
2018-11-09 17:58:59 +00:00
2018-06-28 23:47:12 +00:00
2017-06-06 11:49:48 +00:00
2017-08-01 19:54:18 +00:00
2018-07-11 20:59:01 +00:00
2018-11-09 17:58:59 +00:00
2018-08-20 19:23:45 +00:00
2018-08-31 05:49:54 +00:00
2018-10-30 10:32:11 +00:00
2018-08-01 18:36:07 +00:00
2018-11-01 19:54:45 +00:00
2018-05-01 15:54:18 +00:00
2018-05-13 10:04:48 +00:00
2018-06-28 23:47:12 +00:00
2018-06-28 23:47:12 +00:00
2018-06-28 23:47:12 +00:00
2018-06-28 23:47:12 +00:00
2018-07-11 20:59:01 +00:00
2018-06-28 23:47:12 +00:00
2018-07-11 20:59:01 +00:00
2019-01-07 15:52:28 +00:00
2018-07-11 20:59:01 +00:00
2018-12-10 12:06:10 +00:00
2018-10-31 13:27:08 +00:00
2018-11-30 18:29:17 +00:00
2018-07-11 20:59:01 +00:00
2018-08-02 23:31:32 +00:00
2019-01-03 19:55:32 +00:00
2018-09-27 02:13:45 +00:00
2018-10-04 21:02:16 +00:00
2018-07-11 20:59:01 +00:00
2018-11-16 05:03:02 +00:00
2018-12-19 10:17:49 +00:00
2018-12-10 12:06:10 +00:00
2018-12-03 13:04:54 +00:00
2018-12-10 12:06:10 +00:00
2018-11-30 14:21:56 +00:00
2018-12-19 22:53:33 +00:00
2018-12-07 18:03:47 +00:00
2019-01-02 09:47:41 +00:00
2018-12-14 21:13:14 +00:00
2018-12-18 19:58:39 +00:00
2018-10-31 13:26:48 +00:00
2018-10-31 13:27:08 +00:00
2018-10-31 18:54:06 +00:00
2018-06-21 18:36:04 +00:00
2018-11-28 12:00:20 +00:00
2018-05-01 15:54:18 +00:00
2018-12-10 16:35:53 +00:00
2018-12-10 16:23:30 +00:00
2018-07-11 20:59:01 +00:00
2018-12-13 05:52:11 +00:00
2018-12-03 13:04:54 +00:00
2018-07-10 17:31:32 +00:00
2018-12-13 03:17:40 +00:00
2018-12-13 03:17:40 +00:00
2019-01-07 13:31:55 +00:00
2018-04-05 13:11:36 +00:00
2018-12-07 15:33:21 +00:00
2018-07-11 20:59:01 +00:00
2018-12-07 18:41:39 +00:00
2018-11-29 16:05:38 +00:00
2018-12-10 12:06:10 +00:00
2018-12-10 12:06:10 +00:00
2018-12-10 12:06:10 +00:00
2018-12-10 12:06:10 +00:00
2018-08-15 21:25:20 +00:00
2018-11-30 14:21:56 +00:00